From 68eb1ecd9e7565d6e265d4cca2b666e8c017dd53 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 11 Jul 2013 15:15:20 +0200 Subject: dissector: rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOS To be more consistent with config.h, rename __WITH_PROTOS into HAVE_DISSECTOR_PROTOS. Signed-off-by: Daniel Borkmann --- dissector_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dissector_eth.c') diff --git a/dissector_eth.c b/dissector_eth.c index 3686fb9..41af9d2 100644 --- a/dissector_eth.c +++ b/dissector_eth.c @@ -53,7 +53,7 @@ char *lookup_ether_type(unsigned int id) return __do_lookup_inline(id, port, ð_ether_types, port); } -#ifdef __WITH_PROTOS +#ifdef HAVE_DISSECTOR_PROTOS static inline void dissector_init_entry(int type) { dissector_set_print_type(ðernet_ops, type); @@ -101,7 +101,7 @@ static inline void dissector_init_entry(int type) {} static inline void dissector_init_exit(int type) {} static void dissector_init_layer_2(int type) {} static void dissector_init_layer_3(int type) {} -#endif /* __WITH_PROTOS */ +#endif enum ports { PORTS_UDP, -- cgit v1.2.3-54-g00ecf