From e2a77bb8b7b9e4417491ffd20e247a12bbec31ab Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 15 May 2007 18:30:48 +0000 Subject: [PATCH] Fix unused variable error with !INET6 Reported by: Artem Naluzhny, Frank Terhaar-Yonkers --- sys/net/if_lagg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index c9511534715..76e5c88e742 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); -- 2.45.2