From f5aa04085ef784abf76e4b6b419343e0843b7f32 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 8 Aug 2020 14:45:10 +0200 Subject: 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. --- print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print.c') 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 }, -- cgit v1.2.1