diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-10-09 21:28:54 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-10-09 21:28:54 +0000 |
commit | 710eae26cf11a4cebd69ea5f2524b68ac89fe0e5 (patch) | |
tree | 8eb414618b690f6b7ddabe11305c06c0ea5d4df1 /etc/rc.linkup | |
parent | b34e6d8409279fc95a64312ea3b92b92cfb54726 (diff) | |
download | pfsense-710eae26cf11a4cebd69ea5f2524b68ac89fe0e5.zip pfsense-710eae26cf11a4cebd69ea5f2524b68ac89fe0e5.tar.gz |
Do not reconfigure on pptp interfaces.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 5 |
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(); } |