am 49337b27
: merge from open-source master
Merge commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d' into kraken * commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d': Fix "route add default dev <iface>" behaviour
This commit is contained in:
commit
53a79a841b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ int route_main(int argc, char *argv[])
|
|||
if (!strcmp(argv[2], "default")) {
|
||||
/* route add default dev wlan0 */
|
||||
if (argc > 4 && !strcmp(argv[3], "dev")) {
|
||||
rt.rt_flags = RTF_UP | RTF_HOST;
|
||||
rt.rt_flags = RTF_UP;
|
||||
rt.rt_dev = argv[4];
|
||||
errno = 0;
|
||||
goto apply;
|
||||
|
|
Loading…
Reference in a new issue