From: Guy Harris Date: Mon, 16 Aug 2010 17:43:28 +0000 (-0700) Subject: Get rid of no-longer-valid comment. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/f81b73335b6358ad120aaa167f70554424aa7413 Get rid of no-longer-valid comment. 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. --- diff --git a/print-atalk.c b/print-atalk.c index e7d6b5fd..fe51cba0 100644 --- a/print-atalk.c +++ b/print-atalk.c @@ -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);