From f94d4e70f63d86bcd22b42f5522ee95a2455ad1c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 18 Jan 2017 19:32:25 -0500 Subject: [PATCH] isisd: Fix unused variable in some situations. Fix an unused variable for certain compile options. Signed-off-by: Donald Sharp --- isisd/isis_bpf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/isisd/isis_bpf.c b/isisd/isis_bpf.c index 8775e12a24..3a5eaf5585 100644 --- a/isisd/isis_bpf.c +++ b/isisd/isis_bpf.c @@ -78,7 +78,10 @@ open_bpf_dev (struct isis_circuit *circuit) int i = 0, fd; char bpfdev[128]; struct ifreq ifr; - u_int blen, immediate, seesent; + u_int blen, immediate; +#ifdef BIOCSSEESENT + u_int seesent; +#endif struct timeval timeout; struct bpf_program bpf_prog;