diff options
-rwxr-xr-x | etc/rc.initial.setlanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index e74313f..f997242 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -150,7 +150,7 @@ $restart_dhcpd = true; } while (!is_numeric($intbits) || ($intbits < 1) || ($intbits > 31)); } - $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; } |