forked from Mirror/frr
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:
parent
bc3d640088
commit
f94d4e70f6
|
@ -78,7 +78,10 @@ open_bpf_dev (struct isis_circuit *circuit)
|
||||||
int i = 0, fd;
|
int i = 0, fd;
|
||||||
char bpfdev[128];
|
char bpfdev[128];
|
||||||
struct ifreq ifr;
|
struct ifreq ifr;
|
||||||
u_int blen, immediate, seesent;
|
u_int blen, immediate;
|
||||||
|
#ifdef BIOCSSEESENT
|
||||||
|
u_int seesent;
|
||||||
|
#endif
|
||||||
struct timeval timeout;
|
struct timeval timeout;
|
||||||
struct bpf_program bpf_prog;
|
struct bpf_program bpf_prog;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue