Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37815731
en ru br
Репозитории ALT
S:2.5.0-alt1
5.1: 2.4.4-alt12
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
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: ppp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ppp-2.4.3-demand-fix.diff
Скачать


--- 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)();
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin