opnsense-src/sys/netgraph/netflow
Marek Zarychta f51e0f5e69
ng_netflow v9: fix template re-announcement using packet count
Increment fe->sent_packets after export9_send().
Previously, NetFlow v9 templates were only re-announced based on
time, ignoring the packet count parameter (`templ_packets`).

PR:		270083
Reviewed by:	glebius pouria
Approved by:	glebius (mentor)
MFC after:	1 week
Sponsored by:	Subcarpathian BSD User Group

(cherry picked from commit d836dae9f0d888d441234ea11e3cd91614c86aa2)
2026-01-24 12:39:02 +03:30
..
netflow.c tcp: extend the use of the th_flags accessor function 2024-11-29 09:48:23 +01:00
netflow.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
netflow_v9.c ng_netflow v9: fix template re-announcement using packet count 2026-01-24 12:39:02 +03:30
netflow_v9.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ng_netflow.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ng_netflow.h tcp: extend the use of the th_flags accessor function 2024-11-29 09:48:23 +01:00