summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-10-09 21:28:54 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-10-09 21:28:54 +0000
commit710eae26cf11a4cebd69ea5f2524b68ac89fe0e5 (patch)
tree8eb414618b690f6b7ddabe11305c06c0ea5d4df1 /etc/rc.linkup
parentb34e6d8409279fc95a64312ea3b92b92cfb54726 (diff)
downloadpfsense-710eae26cf11a4cebd69ea5f2524b68ac89fe0e5.zip
pfsense-710eae26cf11a4cebd69ea5f2524b68ac89fe0e5.tar.gz
Do not reconfigure on pptp interfaces.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 57a51a9..bbf44d6 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -81,8 +81,9 @@
}
switch ($iface) {
case "wan":
- if($config['interfaces'][$iface]['ipaddr'] <> "pppoe") {
- /* do not reconfigure on hotplug events when using pppoe */
+ if($config['interfaces'][$iface]['ipaddr'] <> "pppoe" and
+ $config['interfaces'][$iface]['ipaddr'] <> "pptp") {
+ /* do not reconfigure on hotplug events when using pppoe or pptp */
log_error("HOTPLUG: Configuring wan interface {$argument1}");
interfaces_wan_configure();
}
OpenPOWER on IntegriCloud