Skip to content

Commit 0b3820a

Browse files
committed
vlan plugin: fix invalid return code from fill_ipfix()
1 parent 0f52d43 commit 0b3820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process/vlan.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct RecordExtVLAN : public RecordExt {
8686
}
8787

8888
*reinterpret_cast<uint16_t *>(buffer) = htons(vlan_id);
89-
return 0;
89+
return LEN;
9090
}
9191

9292
const char **get_ipfix_tmplt() const

0 commit comments

Comments
 (0)