mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 06:21:52 +02:00
13 lines
281 B
Diff
13 lines
281 B
Diff
|
--- a/pppd/main.c
|
||
|
+++ b/pppd/main.c
|
||
|
@@ -1048,7 +1048,8 @@ get_input()
|
||
|
}
|
||
|
notice("Modem hangup");
|
||
|
hungup = 1;
|
||
|
- status = EXIT_HANGUP;
|
||
|
+ if (status == EXIT_OK)
|
||
|
+ status = EXIT_HANGUP;
|
||
|
lcp_lowerdown(0); /* serial link is no longer available */
|
||
|
link_terminated(0);
|
||
|
return;
|