[package] iwinfo: add more device entries
[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;