Commit 7c37060
committed
unirec: BUGFIX skip translation for missing fields
When an UniRec field is not in the UniRec template, it is not
possible to write translated value into message. Therefore,
it is useless to translate fields that are not in template at all.
This patch removes the translate function from the map for fields that
are not present in the template. Check was added too to skip processing
the IPFIX field.1 parent 7bb810a commit 7c37060
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
713 | 719 | | |
714 | 720 | | |
715 | 721 | | |
| |||
753 | 759 | | |
754 | 760 | | |
755 | 761 | | |
756 | | - | |
757 | | - | |
| 762 | + | |
| 763 | + | |
758 | 764 | | |
759 | 765 | | |
760 | 766 | | |
| |||
0 commit comments