summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-05-07 15:53:09 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-05-07 15:53:09 +0545
commit8e47f55b6ec58fa287b9cfb0815aa47ff9d4b069 (patch)
tree0e6823964af3ae8b3d2896a408bca7671e50f141 /etc
parent6ddfa6c21682114e98f87b9a98ff713ca68f8eaa (diff)
downloadpfsense-8e47f55b6ec58fa287b9cfb0815aa47ff9d4b069.zip
pfsense-8e47f55b6ec58fa287b9cfb0815aa47ff9d4b069.tar.gz
Reload routes etc when rc.linkup happens
When a link comes up, call interface_configure with p2=true. This makes it run various extra routines such as system_routing_configure - which will put back the default route or other static routes that might have been removed when the link was down.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.linkup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 6283aa2..4dc3058 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -74,7 +74,7 @@ function handle_argument_group($iface, $argument2) {
log_error("DEVD Ethernet attached event for {$iface}");
log_error("HOTPLUG: Configuring interface {$iface}");
// Do not try to readd to bridge otherwise em(4) has problems
- interface_configure($iface, false, true);
+ interface_configure($iface, true, true);
break;
}
}
OpenPOWER on IntegriCloud