projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[tools] scons: upgrade to 2.3.1
[openwrt.git]
/
ppp
/
patches
/
208-fix_status_code.patch
1
--- a/pppd/main.c
2
+++ b/pppd/main.c
3
@@ -1048,7 +1048,8 @@ get_input()
4
}
5
notice("Modem hangup");
6
hungup = 1;
7
- status = EXIT_HANGUP;
8
+ if (status == EXIT_OK)
9
+ status = EXIT_HANGUP;
10
lcp_lowerdown(0); /* serial link is no longer available */
11
link_terminated(0);
12
return;