summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/demand.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libnetworking/pppd/demand.c')
-rw-r--r--c/src/libnetworking/pppd/demand.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/c/src/libnetworking/pppd/demand.c b/c/src/libnetworking/pppd/demand.c
index a1910f258f..1f2e9932d4 100644
--- a/c/src/libnetworking/pppd/demand.c
+++ b/c/src/libnetworking/pppd/demand.c
@@ -17,16 +17,13 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-/* static char rcsid[] = "$Id$"; */
-#endif
+#define RCSID "$Id$";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include <syslog.h>
#include <netdb.h>
#include <sys/param.h>
#include <sys/types.h>
@@ -46,6 +43,8 @@
#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)