Merge pull request #116 from nickbroon/print_uint8_as_string

Correct output the protocol as a string
master
Oliver Gasser 2018-10-23 12:48:30 +02:00 committed by GitHub
commit e3fb206034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -197,7 +197,7 @@ class IpfixRecord
oss << " (SCTP)";
break;
default:
oss << " (" << protocol <<")";
oss << " (" << std::to_string(protocol) <<")";
break;
}
oss << " ODID=" << observationDomainId;
@ -390,4 +390,3 @@ class IpfixTemplateDestructionRecord : public IpfixRecord, public ManagedInstanc
#endif