]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
Made multilink and tdb code compile-time options. By default, they are
[ppp.git] / pppd / sys-linux.c
index 252262e0196d7abe8a09566c97e3ca235d39d3c6..caaf3a9adb7bd291c9eea814d7512a4bcc42019b 100644 (file)
@@ -945,8 +945,7 @@ void output (int unit, unsigned char *p, int len)
     int fd = ppp_fd;
     int proto;
 
-    if (debug)
-       dbglog("sent %P", p, len);
+    dump_packet("sent", p, len);
 
     if (len < PPP_HDRLEN)
        return;
@@ -2074,9 +2073,6 @@ void logwtmp (const char *line, const char *name, const char *host)
     while ((utp = getutent()) && (utp->ut_pid != mypid))
         /* nothing */;
 
-    /* Is this call really necessary? There is another one after the 'put' */
-    endutent();
-    
     if (utp)
        memcpy(&ut, utp, sizeof(ut));
     else