]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of no-longer-valid comment.
authorGuy Harris <[email protected]>
Mon, 16 Aug 2010 17:43:28 +0000 (10:43 -0700)
committerGuy Harris <[email protected]>
Mon, 16 Aug 2010 17:44:08 +0000 (10:44 -0700)
We no longer guarantee alignment in any printer routine; all printers
must use the EXTRACT_ macros to extract integral quantities - and the
Appletalk printers now do so.

print-atalk.c

index e7d6b5fdb1c4d12505c7266927ffe0289739ea10..fe51cba0b5cf19b18e9ad7e5c8e3fcbad1324513 100644 (file)
@@ -99,14 +99,6 @@ llap_print(register const u_char *bp, u_int length)
        u_short snet;
        u_int hdrlen;
 
-       /*
-        * Our packet is on a 4-byte boundary, as we're either called
-        * directly from a top-level link-layer printer (ltalk_if_print)
-        * or from the UDP printer.  The LLAP+DDP header is a multiple
-        * of 4 bytes in length, so the DDP payload is also on a 4-byte
-        * boundary, and we don't need to align it before calling
-        * "ddp_print()".
-        */
        lp = (const struct LAP *)bp;
        bp += sizeof(*lp);
        length -= sizeof(*lp);