Merge pull request #137 from Sebb767/dbexporter-fix

Fixed compile error when using the IpfixDbWriter
master
Lothar Braun 2020-05-14 22:51:27 +02:00 committed by GitHub
commit 082ea973c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -777,8 +777,8 @@ IpfixDbWriterSQL::IpfixDbWriterSQL(const char* dbtype, const char* host, const c
for(vector<string>::const_iterator col = columns.begin(); col != columns.end(); col++) {
std::string columnName = *col;
std::string dataType = "";
uint16_t ipfixId;
uint32_t enterpriseId;
uint16_t ipfixId = 0;
uint32_t enterpriseId = 0;
if (useLegacyNames) {
bool found = false;
int i = 0;