summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-05-15 18:30:48 +0000
committerthompsa <thompsa@FreeBSD.org>2007-05-15 18:30:48 +0000
commita3a9e4130c768ac97044193ad7a95266390ba347 (patch)
tree3b5770feb4552d54737bfa1cb4515f3736e5f120 /sys/net/if_lagg.c
parent27484adf8c98751ef788cbbabf198f1e15e8ac3b (diff)
downloadFreeBSD-src-a3a9e4130c768ac97044193ad7a95266390ba347.zip
FreeBSD-src-a3a9e4130c768ac97044193ad7a95266390ba347.tar.gz
Fix unused variable error with !INET6
Reported by: Artem Naluzhny, Frank Terhaar-Yonkers
Diffstat (limited to 'sys/net/if_lagg.c')
-rw-r--r--sys/net/if_lagg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index c951153..76e5c88 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -1199,7 +1199,7 @@ uint32_t
lagg_hashmbuf(struct mbuf *m, uint32_t key)
{
uint16_t etype;
- uint32_t flow, p = 0;
+ uint32_t p = 0;
int off;
struct ether_header *eh;
struct ether_vlan_header vlanbuf;
@@ -1211,6 +1211,7 @@ lagg_hashmbuf(struct mbuf *m, uint32_t key)
#ifdef INET6
const struct ip6_hdr *ip6;
struct ip6_hdr ip6buf;
+ uint32_t flow;
#endif
off = sizeof(*eh);
OpenPOWER on IntegriCloud