aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 9dce445bd..34a43e6fa 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -471,8 +471,8 @@ static int static_up(struct interface_defn_t *ifd, execfn *exec)
471 return ((result == 3) ? 3 : 0); 471 return ((result == 3) ? 3 : 0);
472#else 472#else
473 result = execute("ifconfig %iface% %address% netmask %netmask% " 473 result = execute("ifconfig %iface% %address% netmask %netmask% "
474 "[[broadcast %broadcast%]] [[pointopoint %pointopoint%]] " 474 "[[broadcast %broadcast%]] [[pointopoint %pointopoint%]] "
475 "[[media %media%]] [[mtu %mtu%]] [[hw %hwaddress%]] up", 475 "[[media %media%]] [[mtu %mtu%]] [[hw %hwaddress%]] up",
476 ifd, exec); 476 ifd, exec);
477 result += execute("[[ route add default gw %gateway% %iface% ]]", ifd, exec); 477 result += execute("[[ route add default gw %gateway% %iface% ]]", ifd, exec);
478 return ((result == 2) ? 2 : 0); 478 return ((result == 2) ? 2 : 0);