summaryrefslogtreecommitdiff
path: root/ppp.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-08 14:45:10 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-08 14:45:10 +0200
commitf5aa04085ef784abf76e4b6b419343e0843b7f32 (patch)
treea95094cc6cfb37610a93d0566ff5e84c62982763 /ppp.h
parent4482e168021655614b4224f5b8e8aefb387dd2ae (diff)
downloadtcpdump-f5aa04085ef784abf76e4b6b419343e0843b7f32.tar.gz
Rename DLT_PPP_WITHDIRECTION to DLT_PPP_PPPD
In libpcap DLT_PPP_WITHDIRECTION was renamed to DLT_LINUX_PPP_WITHDIRECTION and after to DLT_PPP_PPPD. Rename other #defines to match.
Diffstat (limited to 'ppp.h')
-rw-r--r--ppp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppp.h b/ppp.h
index 9d53423f..2bf93402 100644
--- a/ppp.h
+++ b/ppp.h
@@ -19,8 +19,8 @@
#define PPP_ADDRESS 0xff /* The address byte value */
#define PPP_CONTROL 0x03 /* The control byte value */
-#define PPP_WITHDIRECTION_IN 0x00 /* non-standard for DLT_PPP_WITHDIRECTION */
-#define PPP_WITHDIRECTION_OUT 0x01 /* non-standard for DLT_PPP_WITHDIRECTION */
+#define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */
+#define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */
/* Protocol numbers */
#define PPP_IP 0x0021 /* Raw IP */