summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setlanip
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.initial.setlanip')
-rwxr-xr-xetc/rc.initial.setlanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip
index e062e6e..774cda0 100755
--- a/etc/rc.initial.setlanip
+++ b/etc/rc.initial.setlanip
@@ -299,7 +299,7 @@ function console_configure_ip_address($version) {
add_gateway_to_config($interface, $gwip, $inet_type);
}
}
- $ifppp = console_get_interface_from_ppp(get_real_interface("wan"));
+ $ifppp = console_get_interface_from_ppp(get_real_interface($interface));
if (!empty($ifppp))
$ifaceassigned = $ifppp;
}
OpenPOWER on IntegriCloud