Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563717
en ru br
ALT Linux repos
S:2.5.0-alt1
5.0: 2.4.4-alt11
4.1: 2.4.4-alt10.M41.1
4.0: 2.4.4-alt10
+updates:2.4.4-alt10
3.0: 2.4.2-alt6
+updates:2.4.2-alt6.M30.1

Group :: Networking/Other
RPM: ppp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ppp-2.4.3-demand-fix.diff
Download


--- pppd/auth.c
+++ pppd/auth.c
@@ -546,6 +546,8 @@
     int unit;
 {
     char *msg;
+    if (phase == PHASE_DISCONNECT) /* we are called via link_terminated, must be ignored */
+       return;
 
     new_phase(PHASE_SERIALCONN);
 
@@ -658,6 +660,7 @@
 	the_channel->disconnect();
 	devfd = -1;
     }
+    /* not only disconnect, cleanup should also be called to close the devices */
     if (the_channel->cleanup)
 	(*the_channel->cleanup)();
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin