projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
pppd: fix the exit code in case of authentication failure or other errors
[openwrt.git]
/
package
/
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;
This page took
0.040855 seconds
and
5
git commands to generate.