summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-08-13 13:01:07 -0700
committerGuy Harris <gharris@sonic.net>2020-08-13 13:01:07 -0700
commit656445d5d027e32c92b89de6ab870341aa9b4cff (patch)
tree3df329960a124c9d8e8d6cdbb5268127cc678da5
parent4e31856aa1525a452218a447d7f4c8e8272ff1b3 (diff)
downloadlibpcap-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pcap/dlt.h b/pcap/dlt.h
index a0273777..02b1257d 100644
--- a/pcap/dlt.h
+++ b/pcap/dlt.h
@@ -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