]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove useless #if 1
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 21 Sep 2017 10:04:49 +0000 (12:04 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 21 Sep 2017 10:04:49 +0000 (12:04 +0200)
print-udp.c

index 5a74ff2fc69c706d43002f6d770955c63c59ea95..3f26af3581274a034f2661addd81ef5a8d323baf 100644 (file)
@@ -589,10 +589,8 @@ udp_print(netdissect_options *ndo, register const u_char *bp, u_int length,
                         isakmp_print(ndo, (const u_char *)(up + 1), length, bp2);
                else if (IS_SRC_OR_DST_PORT(ISAKMP_PORT_NATT))
                         isakmp_rfc3948_print(ndo, (const u_char *)(up + 1), length, bp2);
-#if 1 /*???*/
                else if (IS_SRC_OR_DST_PORT(ISAKMP_PORT_USER1) || IS_SRC_OR_DST_PORT(ISAKMP_PORT_USER2))
                        isakmp_print(ndo, (const u_char *)(up + 1), length, bp2);
-#endif
                else if (IS_SRC_OR_DST_PORT(SNMP_PORT) || IS_SRC_OR_DST_PORT(SNMPTRAP_PORT))
                        snmp_print(ndo, (const u_char *)(up + 1), length);
                else if (IS_SRC_OR_DST_PORT(NTP_PORT))