summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-01-26 17:21:29 +0100
committerSeth Mos <seth.mos@dds.nl>2011-01-26 17:21:29 +0100
commit9caffe86931b6db4002c4323ec6ec4bced96e422 (patch)
tree8bf90167ec91ffd684d9906fbc29721caf0f792b /etc
parent9740fad81dce0f9389f157ac739473d17ad67839 (diff)
downloadpfsense-9caffe86931b6db4002c4323ec6ec4bced96e422.zip
pfsense-9caffe86931b6db4002c4323ec6ec4bced96e422.tar.gz
Remove duplicate advbase in ifconfig command
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 035a6c2..fa1203b 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1852,11 +1852,11 @@ function interface_carp_configure(&$vip) {
if(is_ipaddrv4($vip['subnet'])) {
$broadcast_address = gen_subnet_max($vip['subnet'], $vip['subnet_bits']);
- mwexec("/sbin/ifconfig {$vipif} {$vip['subnet']}/{$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} advbase {$advbase} {$password}");
+ mwexec("/sbin/ifconfig {$vipif} {$vip['subnet']}/{$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} {$advbase} {$password}");
}
if(is_ipaddrv6($vip['subnet'])) {
$broadcast_address = gen_subnet_max($vip['subnet'], $vip['subnet_bits']);
- mwexec("/sbin/ifconfig {$vipif} inet6 {$vip['subnet']} prefixlen {$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} advbase {$advbase} {$password}");
+ mwexec("/sbin/ifconfig {$vipif} inet6 {$vip['subnet']} prefixlen {$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} {$advbase} {$password}");
}
interfaces_bring_up($vipif);
OpenPOWER on IntegriCloud