X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fdemand.c;h=bb6538cace93d9963459ede30e73b00b14f74e3e;hb=a2f1729016338de3547ebcfbf64dd67c972dab2f;hp=dc13ba75e0ae0cf5c882f17cc9c6845a55c5f535;hpb=8612e02b5b7a486edaa33d74f98c0c5664fb5302;p=ppp.git diff --git a/pppd/demand.c b/pppd/demand.c index dc13ba7..bb6538c 100644 --- a/pppd/demand.c +++ b/pppd/demand.c @@ -17,16 +17,13 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char rcsid[] = "$Id: demand.c,v 1.6 1997/04/30 05:51:56 paulus Exp $"; -#endif +#define RCSID "$Id: demand.c,v 1.12 1999/08/13 06:46:12 paulus Exp $"; #include #include #include #include #include -#include #include #include #include @@ -35,8 +32,8 @@ static char rcsid[] = "$Id: demand.c,v 1.6 1997/04/30 05:51:56 paulus Exp $"; #include #include #include -#include #ifdef PPP_FILTER +#include #include #include #endif @@ -46,6 +43,8 @@ static char rcsid[] = "$Id: demand.c,v 1.6 1997/04/30 05:51:56 paulus Exp $"; #include "ipcp.h" #include "lcp.h" +static const char rcsid[] = RCSID; + char *frame; int framelen; int framemax; @@ -262,7 +261,7 @@ loop_frame(frame, len) { struct packet *pkt; - /* log_packet(frame, len, "from loop: ", LOG_DEBUG); */ + /* dbglog("from loop: %P", frame, len); */ if (len < PPP_HDRLEN) return 0; if ((PPP_PROTOCOL(frame) & 0x8000) != 0)