diff options
author | Ermal <eri@pfsense.org> | 2013-03-18 14:40:50 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-18 14:40:50 +0000 |
commit | 6e46ff8670c352249f8c83c0f46723edfeb3a731 (patch) | |
tree | 0992c73d2ed35a3b3c86bee9ac108b2d93087365 | |
parent | 1b2f460adc318f068f1e73cd514d559cffaea9b9 (diff) | |
download | pfsense-6e46ff8670c352249f8c83c0f46723edfeb3a731.zip pfsense-6e46ff8670c352249f8c83c0f46723edfeb3a731.tar.gz |
Do a check of interface existing
-rwxr-xr-x | etc/rc.newwanipv6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6 index dd02c38..785944e 100755 --- a/etc/rc.newwanipv6 +++ b/etc/rc.newwanipv6 @@ -141,7 +141,7 @@ if (is_ipaddrv6($oldipv6)) { openvpn_resync_all($interface); } exit; - } else + } else if (does_interface_exist($interface_realv6)) mwexec("/sbin/ifconfig {$interface_realv6} inet6 {$oldipv6} delete"); } |