diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-02 21:49:35 +0100 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2010-04-29 02:15:44 +0200 |
commit | 745bf05f58ff203f5e3878574016fb3b9ad5b450 (patch) | |
tree | 0c1019a61726211f4ade8f7ff21c579c95e7063a /isisd/isis_bpf.c | |
parent | ospf6d: Fix crash when '[no] ipv6 ospf6 advertise prefix-list' is in startup-... (diff) | |
download | frr-745bf05f58ff203f5e3878574016fb3b9ad5b450.tar.xz frr-745bf05f58ff203f5e3878574016fb3b9ad5b450.zip |
isisd: change ISIS_METHOD to use C preprocessor
this fixes warnings from vtysh extract.pl by making sure the isis method
files always 'work'. (previously, extract.pl would grab unselected isis
method sources and then complain about missing headers)
Diffstat (limited to 'isisd/isis_bpf.c')
-rw-r--r-- | isisd/isis_bpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_bpf.c b/isisd/isis_bpf.c index 8c3602db3..05f11386c 100644 --- a/isisd/isis_bpf.c +++ b/isisd/isis_bpf.c @@ -21,6 +21,7 @@ */ #include <zebra.h> +#if ISIS_METHOD == ISIS_METHOD_BPF #include <net/if.h> #include <netinet/if_ether.h> #include <sys/time.h> @@ -339,3 +340,5 @@ isis_send_pdu_p2p (struct isis_circuit *circuit, int level) { return ISIS_OK; } + +#endif /* ISIS_METHOD == ISIS_METHOD_BPF */ |