summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_eth.c')
-rw-r--r--dissector_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dissector_eth.c b/dissector_eth.c
index 41af9d2..c700943 100644
--- a/dissector_eth.c
+++ b/dissector_eth.c
@@ -35,7 +35,7 @@ struct port {
while (entry && id != entry->id) \
entry = entry->next; \
\
- (entry && id == entry->id ? entry->struct_member : 0); \
+ (entry && id == entry->id ? entry->struct_member : NULL); \
})
char *lookup_port_udp(unsigned int id)