summaryrefslogtreecommitdiff
path: root/print.c
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 /print.c
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 'print.c')
-rw-r--r--print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.c b/print.c
index 5b776d61..ee64843e 100644
--- a/print.c
+++ b/print.c
@@ -201,8 +201,8 @@ static const struct printer printers[] = {
{ ppp_hdlc_if_print, DLT_PPP_SERIAL },
#endif
{ ppp_if_print, DLT_PPP },
-#ifdef DLT_PPP_WITHDIRECTION
- { ppp_if_print, DLT_PPP_WITHDIRECTION },
+#ifdef DLT_PPP_PPPD
+ { ppp_if_print, DLT_PPP_PPPD },
#endif
#ifdef DLT_PPP_ETHER
{ pppoe_if_print, DLT_PPP_ETHER },