summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)