diff options
author | bz <bz@FreeBSD.org> | 2011-03-03 16:16:49 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2011-03-03 16:16:49 +0000 |
commit | 26db4c6ff3383f8642521bcc3fc4d640035ed0b3 (patch) | |
tree | 1ae2820a21be3ee7aed5dbdee035ee5faaef7b93 /sys/netgraph/netflow/netflow_v9.c | |
parent | 3edd099649d44a35387a343a1a109ca90bb8e017 (diff) | |
download | FreeBSD-src-26db4c6ff3383f8642521bcc3fc4d640035ed0b3.zip FreeBSD-src-26db4c6ff3383f8642521bcc3fc4d640035ed0b3.tar.gz |
Unbreak the build for no options INET6.
PR: kern/155227
Submitted by: Dmitry Afanasiev (KOT MATPOCKuH.Ru)
Diffstat (limited to 'sys/netgraph/netflow/netflow_v9.c')
-rw-r--r-- | sys/netgraph/netflow/netflow_v9.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/netflow/netflow_v9.c b/sys/netgraph/netflow/netflow_v9.c index 2055a62..bd8deaa 100644 --- a/sys/netgraph/netflow/netflow_v9.c +++ b/sys/netgraph/netflow/netflow_v9.c @@ -256,7 +256,9 @@ export9_add(item_p item, struct netflow_v9_packet_opt *t, struct flow_entry *fle /* Prepare flow record */ fed = (struct flow_entry_data *)&fle->f; +#ifdef INET6 fed6 = (struct flow6_entry_data *)&fle->f; +#endif /* We can use flow_type field since fle6 offset is equal to fle */ flow_type = fed->r.flow_type; |