summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-12-18 15:16:52 +0100
committerErmal LUÇI <eri@pfsense.org>2014-12-18 15:17:27 +0100
commitab0e40807d3a38972b04f75f8c9429bfb93f7a5d (patch)
tree483ea9a0e0a666e3050b091ead02fb597c696753 /etc
parent906ae4556c16fb13cb13859da8b354c840a5b5e2 (diff)
downloadpfsense-ab0e40807d3a38972b04f75f8c9429bfb93f7a5d.zip
pfsense-ab0e40807d3a38972b04f75f8c9429bfb93f7a5d.tar.gz
Do not restart unneeded services. Also triger configuration for the proper interface.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.linkup4
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);
}
OpenPOWER on IntegriCloud