diff options
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c7cb85350..8e750feaf 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -421,7 +421,7 @@ static int static_up(struct interface_defn_t *ifd, execfn *exec) | |||
421 | result += execute("ifconfig %iface% %address% netmask %netmask%" | 421 | result += execute("ifconfig %iface% %address% netmask %netmask%" |
422 | "[[ broadcast %broadcast%]][[ pointopoint %pointopoint%]] ", | 422 | "[[ broadcast %broadcast%]][[ pointopoint %pointopoint%]] ", |
423 | ifd, exec); | 423 | ifd, exec); |
424 | result += execute("[[route add default gw %gateway% %iface%]]", ifd, exec); | 424 | result += execute("[[route add default gw %gateway% %iface%]]", ifd, exec); |
425 | return ((result == 3) ? 3 : 0); | 425 | return ((result == 3) ? 3 : 0); |
426 | #endif | 426 | #endif |
427 | } | 427 | } |