summaryrefslogtreecommitdiff
path: root/dissector_eth.h
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.h
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.h')
-rw-r--r--dissector_eth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dissector_eth.h b/dissector_eth.h
index 85106bc..45d3b6c 100644
--- a/dissector_eth.h
+++ b/dissector_eth.h
@@ -23,7 +23,7 @@ extern char *lookup_port_udp(unsigned int id);
extern char *lookup_port_tcp(unsigned int id);
extern char *lookup_ether_type(unsigned int id);
-#ifdef __WITH_PROTOS
+#ifdef HAVE_DISSECTOR_PROTOS
static inline struct protocol *dissector_get_ethernet_entry_point(void)
{
return &ethernet_ops;
@@ -43,5 +43,5 @@ static inline struct protocol *dissector_get_ethernet_exit_point(void)
{
return NULL;
}
-#endif /* __WITH_PROTOS */
+#endif
#endif /* DISSECTOR_ETH_H */