]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-udp.c
Remove the request to ignore the warning, since the thing that
[tcpdump] / print-udp.c
index 0d397d624e05131025ea208e60412500560831a5..fde6aad68aa37044bdd95725fef66c9d42ed64da 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.94 2001-06-15 22:17:34 fenner Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.96 2001-06-26 06:19:06 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -54,12 +54,6 @@ static const char rcsid[] =
 #include "ip6.h"
 #endif
 
-#ifdef NOERROR
-#undef NOERROR                                 /* Solaris sucks */
-#endif
-#ifdef T_UNSPEC
-#undef T_UNSPEC                                        /* SINIX does too */
-#endif
 #include "nameser.h"
 #include "nfs.h"
 #include "bootp.h"
@@ -650,12 +644,10 @@ udp_print(register const u_char *bp, u_int length,
                        krb_print((const void *)(up + 1), length);
                else if (ISPORT(L2TP_PORT))
                        l2tp_print((const u_char *)(up + 1), length);
-               else if (ISPORT(NETBIOS_NS_PORT)) {
+               else if (ISPORT(NETBIOS_NS_PORT))
                        nbt_udp137_print((const u_char *)(up + 1), length);
-               }
-               else if (ISPORT(NETBIOS_DGRAM_PORT)) {
+               else if (ISPORT(NETBIOS_DGRAM_PORT))
                        nbt_udp138_print((const u_char *)(up + 1), length);
-               }
                else if (dport == 3456)
                        vat_print((const void *)(up + 1), length, up);
                /*