Invalid decoding of Options-Template in IPFix
bdollma opened this issue · 1 comments
bdollma commented
Hi,
Trying to decode a simple options template with more than 1 scope field and failing.
The reason is the following line:
Instead it should be:
tr.ScopeFieldSpecifiers = append(tr.ScopeFieldSpecifiers, tf)
I think the fix is self explanatory.
bdollma commented
The same bug exists in Netflow v9 decoder as well.
The following line:
should be replace with:
tr.ScopeFieldSpecifiers = append(tr.ScopeFieldSpecifiers, tf)