summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:15:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-11 15:15:20 +0200
commit68eb1ecd9e7565d6e265d4cca2b666e8c017dd53 (patch)
tree0ac77c8027fd77643e1cd01b784c9702f88639ea /dissector_eth.c
parent96b4d0cea5045770e2343908c40cbfc6ebb4ac1e (diff)
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 <dborkman@redhat.com>
Diffstat (limited to 'dissector_eth.c')
-rw-r--r--dissector_eth.c4
1 files changed, 2 insertions, 2 deletions
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, &eth_ether_types, port);
}
-#ifdef __WITH_PROTOS
+#ifdef HAVE_DISSECTOR_PROTOS
static inline void dissector_init_entry(int type)
{
dissector_set_print_type(&ethernet_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,