]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-openflow-1.3.c
DHCP: Fix a comment about formats for (un)signed longs/shorts data
[tcpdump] / print-openflow-1.3.c
index 8008c2f38ccb4d8746189957e13086abbd5d5c33..935e573909f004435c1051001ca743d4697b5d8e 100644 (file)
@@ -33,9 +33,7 @@
 
 /* \summary: OpenFlow protocol version 1.3 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -676,7 +674,7 @@ of13_port_print(netdissect_options *ndo,
        cp += 4;
        /* state */
        ND_PRINT("\n\t   state 0x%08x", GET_BE_U_4(cp));
-       of_bitmap_print(ndo, ofpps_bm, GET_BE_U_4(cp), OFPPS_U);;
+       of_bitmap_print(ndo, ofpps_bm, GET_BE_U_4(cp), OFPPS_U);
        cp += 4;
        /* curr */
        ND_PRINT("\n\t   curr 0x%08x", GET_BE_U_4(cp));