]> git.ozlabs.org Git - ppp.git/commitdiff
small changes suggested by Seth Chaiklin
authorPaul Mackerras <paulus@samba.org>
Thu, 1 Apr 1999 07:08:49 +0000 (07:08 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 1 Apr 1999 07:08:49 +0000 (07:08 +0000)
pppd/auth.c
pppd/ipxcp.c
pppd/main.c
pppd/ppp.pam

index e26d36af94aefd947d6cfcc1c8d63d54245fcf96..778397d7b02df33237c7e159f68a7378ad33b9e6 100644 (file)
@@ -33,7 +33,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: auth.c,v 1.49 1999/03/31 05:39:42 paulus Exp $";
+static char rcsid[] = "$Id: auth.c,v 1.50 1999/04/01 07:08:47 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -623,7 +623,7 @@ check_idle(arg)
     itime = MIN(idle.xmit_idle, idle.recv_idle);
     if (itime >= idle_time_limit) {
        /* link is idle: shut it down. */
-       info("Terminating connection due to lack of activity.");
+       notice("Terminating connection due to lack of activity.");
        lcp_close(0, "Link inactive");
     } else {
        TIMEOUT(check_idle, NULL, idle_time_limit - itime);
index 91cad490b72de1b82e7b5334e78511773564744a..c93890493d42f88d79390cf775f8b8d49ccc1503 100644 (file)
@@ -19,7 +19,7 @@
 
 #ifdef IPX_CHANGE
 #ifndef lint
-static char rcsid[] = "$Id: ipxcp.c,v 1.14 1999/03/22 05:55:31 paulus Exp $";
+static char rcsid[] = "$Id: ipxcp.c,v 1.15 1999/04/01 07:08:47 paulus Exp $";
 #endif
 
 /*
@@ -101,7 +101,7 @@ static option_t ipxcp_option_list[] = {
       "Disable IPXCP (and IPX)" },
     { "-ipx", o_bool, &ipxcp_protent.enabled_flag,
       "Disable IPXCP (and IPX)" } ,
-    { "ipx-network", o_int, &ipxcp_wantoptions[0].our_network,
+    { "ipx-network", o_uint32, &ipxcp_wantoptions[0].our_network,
       "Set our IPX network number", 0, &ipxcp_wantoptions[0].neg_nn },
     { "ipxcp-accept-network", o_bool, &ipxcp_wantoptions[0].accept_network,
       "Accept peer IPX network number", 1,
index d743b9691a2d14cda7c96c41eb9fcbbf21456d6c..1b35cd18525913b78785c562e16f5e8161760f6c 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.71 1999/03/31 12:30:01 paulus Exp $";
+static char rcsid[] = "$Id: main.c,v 1.72 1999/04/01 07:08:48 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -1536,8 +1536,8 @@ reap_kids(waitfor)
            warn("Child process %s (pid %d) terminated with signal %d",
                 (chp? chp->prog: "??"), pid, WTERMSIG(status));
        } else if (debug)
-           dbglog("process %d (%s) finished, status = 0x%x",
-                  pid, (chp? chp->prog: "??"), status);
+           dbglog("Script %s finished (pid %d), status = 0x%x",
+                  (chp? chp->prog: "??"), pid, status);
        if (chp && chp->done)
            (*chp->done)(chp->arg);
     }
index b91142bb384cd1957c29a02436edc74ada7675d7..5436be491af3b867b04d1497d3876f72258832f6 100644 (file)
@@ -1,6 +1,6 @@
 #%PAM-1.0
 # Information for the PPPD process with the 'login' option.
-auth   required        /lib/security/pam_pwdb.so shadow nullok
-auth   required        /lib/security/pam_nologin.so
-account        required        /lib/security/pam_permit.so
-session        required        /lib/security/pam_permit.so
+auth   required        pam_nologin.so
+auth   required        pam_pwdb.so shadow nullok
+account        required        pam_permit.so
+session        required        pam_permit.so