]> The Tcpdump Group git mirrors - tcpdump/commitdiff
MACsec: It was not a typo (revert 77f2fe1).
authorDenis Ovsienko <[email protected]>
Mon, 12 Oct 2020 15:59:14 +0000 (16:59 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 12 Oct 2020 15:59:14 +0000 (16:59 +0100)
"Iff" here and elsewhere means "if and only if".

print-macsec.c

index cf172811df50f83c66fb572fb3240bbb70c4d8e1..3c34e12dc1da781a61d0986d062fbb639af8dea3 100644 (file)
@@ -108,7 +108,7 @@ static void macsec_print_header(netdissect_options *ndo,
        ND_PRINT(", ");
 }
 
-/* returns < 0 if the packet can be decoded completely */
+/* returns < 0 iff the packet can be decoded completely */
 int macsec_print(netdissect_options *ndo, const u_char **bp,
                 u_int *lengthp, u_int *caplenp, u_int *hdrlenp,
                 const struct lladdr_info *src, const struct lladdr_info *dst)