From: Paul Mackerras Date: Fri, 31 Dec 2004 06:19:27 +0000 (+0000) Subject: DLT_PPP_WITH_DIRECTION should be DLT_PPP_WITHDIRECTION. X-Git-Tag: ppp-2.4.7~164 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=781f9542177b990bd67fa6c8399c131652871988 DLT_PPP_WITH_DIRECTION should be DLT_PPP_WITHDIRECTION. Thanks to Stefan Petersen for pointing this out. --- diff --git a/pppd/options.c b/pppd/options.c index 155bcd0..a2e3a4d 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -40,7 +40,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: options.c,v 1.95 2004/11/09 22:33:35 paulus Exp $" +#define RCSID "$Id: options.c,v 1.96 2004/12/31 06:19:27 paulus Exp $" #include #include @@ -62,8 +62,8 @@ * libpcap-0.8.4. Until that is released, use DLT_PPP - but that means * we lose the inbound and outbound qualifiers. */ -#ifndef DLT_PPP_WITH_DIRECTION -#define DLT_PPP_WITH_DIRECTION DLT_PPP +#ifndef DLT_PPP_WITHDIRECTION +#define DLT_PPP_WITHDIRECTION DLT_PPP #endif #endif @@ -1449,7 +1449,7 @@ setpassfilter(argv) pcap_t *pc; int ret = 0; - pc = pcap_open_dead(DLT_PPP_WITH_DIRECTION, 65535); + pc = pcap_open_dead(DLT_PPP_WITHDIRECTION, 65535); if (pcap_compile(pc, &pass_filter, *argv, 1, netmask) == -1) { option_error("error in pass-filter expression: %s\n", pcap_geterr(pc)); @@ -1470,7 +1470,7 @@ setactivefilter(argv) pcap_t *pc; int ret = 0; - pc = pcap_open_dead(DLT_PPP_WITH_DIRECTION, 65535); + pc = pcap_open_dead(DLT_PPP_WITHDIRECTION, 65535); if (pcap_compile(pc, &active_filter, *argv, 1, netmask) == -1) { option_error("error in active-filter expression: %s\n", pcap_geterr(pc));