isisd: Fix unused variable in some situations.

Fix an unused variable for certain compile
options.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-01-18 19:32:25 -05:00
parent bc3d640088
commit f94d4e70f6

View file

@ -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;