diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-18 19:32:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-18 19:32:25 -0500 |
| commit | f94d4e70f63d86bcd22b42f5522ee95a2455ad1c (patch) | |
| tree | 0fc3efb3c903e70870270bd8547bff5391b1cf82 | |
| parent | bc3d64008824a0dd7c5410b3aa95f4e9f2fa073f (diff) | |
isisd: Fix unused variable in some situations.
Fix an unused variable for certain compile
options.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | isisd/isis_bpf.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |
