diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.linkup | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 59e2089..925260c 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -141,7 +141,9 @@ if (!empty($realiface)) { foreach ($ports as $pid => $parent_if) { /* The loop here is because ppp types can have real and assigned interfaces as members */ $tmpiface = get_real_interface($parent_if); - $tmpiface = convert_real_interface_to_friendly_interface_name($tmpiface); + if ($tmpiface != $realiface) + continue; + $tmpiface = convert_real_interface_to_friendly_interface_name($ppp['if']); if (!empty($tmpiface)) interface_configure($tmpiface, true, true); } |