]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-udp.c
Avoiding conditional directives that break statements
[tcpdump] / print-udp.c
index f9a6e333750581d247729e2f12c88e3ea973ac83..2b63318a41954a08afff19ebedcc3cc7628a88c7 100644 (file)
@@ -577,7 +577,7 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length,
                        krb_print(ndo, (const void *)(up + 1));
                else if (ISPORT(L2TP_PORT))
                        l2tp_print(ndo, (const u_char *)(up + 1), length);
                        krb_print(ndo, (const void *)(up + 1));
                else if (ISPORT(L2TP_PORT))
                        l2tp_print(ndo, (const u_char *)(up + 1), length);
-#ifdef TCPDUMP_DO_SMB
+#ifdef ENABLE_SMB
                else if (ISPORT(NETBIOS_NS_PORT))
                        nbt_udp137_print(ndo, (const u_char *)(up + 1), length);
                else if (ISPORT(NETBIOS_DGRAM_PORT))
                else if (ISPORT(NETBIOS_NS_PORT))
                        nbt_udp137_print(ndo, (const u_char *)(up + 1), length);
                else if (ISPORT(NETBIOS_DGRAM_PORT))