mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
ng_netflow: Remove unused variable.
This commit is contained in:
parent
a11819ca1f
commit
ad490a5aeb
1 changed files with 0 additions and 2 deletions
|
|
@ -660,7 +660,6 @@ ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip,
|
|||
struct flow_rec r;
|
||||
int hlen, plen;
|
||||
int error = 0;
|
||||
uint16_t eproto;
|
||||
uint8_t tcp_flags = 0;
|
||||
|
||||
bzero(&r, sizeof(r));
|
||||
|
|
@ -672,7 +671,6 @@ ng_netflow_flow_add(priv_p priv, fib_export_p fe, struct ip *ip,
|
|||
if (hlen < sizeof(struct ip))
|
||||
return (EINVAL);
|
||||
|
||||
eproto = ETHERTYPE_IP;
|
||||
/* Assume L4 template by default */
|
||||
r.flow_type = NETFLOW_V9_FLOW_V4_L4;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue