diff options
author | Guy Harris <gharris@sonic.net> | 2020-08-13 13:01:07 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-08-13 13:01:07 -0700 |
commit | 656445d5d027e32c92b89de6ab870341aa9b4cff (patch) | |
tree | 3df329960a124c9d8e8d6cdbb5268127cc678da5 | |
parent | 4e31856aa1525a452218a447d7f4c8e8272ff1b3 (diff) | |
download | libpcap-656445d5d027e32c92b89de6ab870341aa9b4cff.tar.gz |
Expand a comment.
DLT_PPP_WITH_DIR and DLT_PPP_PPPD are sufficiently different that
they're unlikely to be confused with one another;
DLT_PPP_WITH_DIRECTION, which is an old name for what is now called
DLT_PPP_PPPD, is enough like DLT_PPP_WITH_DIR that somebody might
confuse them.
-rw-r--r-- | pcap/dlt.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -817,8 +817,11 @@ * PPP, with a one-byte direction pseudo-header prepended - zero means * "received by this host", non-zero (any non-zero value) means "sent by * this host" - as per Will Barker <w.barker@zen.co.uk>. + * + * Don't confuse this with DLT_PPP_WITH_DIRECTION, which is an old + * name for what is now called DLT_PPP_PPPD. */ -#define DLT_PPP_WITH_DIR 204 /* Don't confuse with DLT_PPP_PPPD */ +#define DLT_PPP_WITH_DIR 204 /* * Cisco HDLC, with a one-byte direction pseudo-header prepended - zero |