diff options
author | Ermal <eri@pfsense.org> | 2010-12-07 23:51:47 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-07 23:51:47 +0000 |
commit | 6f247d1f76de6025079652ba8f2927be6a940ebc (patch) | |
tree | 1527f6f131c7413cb5000cec7335743d71813912 /etc/inc/interfaces.inc | |
parent | a00fc1e2f42d2d18989ee0ec2818de63356e4981 (diff) | |
download | pfsense-6f247d1f76de6025079652ba8f2927be6a940ebc.zip pfsense-6f247d1f76de6025079652ba8f2927be6a940ebc.tar.gz |
Expose advbase option of carp(4) to alleviate advanced configs.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index de359f3..43a1b4f 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1752,7 +1752,7 @@ function interface_carp_configure(&$vip) { get_interface_arr(true); $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']} {$password}"); + mwexec("/sbin/ifconfig {$vipif} {$vip['subnet']}/{$vip['subnet_bits']} vhid {$vip['vhid']} advskew {$vip['advskew']} advbase {$vip['advbase']} {$password}"); interfaces_bring_up($vipif); @@ -1793,7 +1793,7 @@ function interface_carpdev_configure(&$vip) { pfSense_ngctl_name("{$carpdevif}:", $vipif); } - mwexec("/sbin/ifconfig {$vipif} carpdev {$realif} vhid {$vip['vhid']} advskew {$vip['advskew']} {$password}"); + mwexec("/sbin/ifconfig {$vipif} carpdev {$realif} vhid {$vip['vhid']} advskew {$vip['advskew']} advbase {$vip['advbase']} {$password}"); interfaces_bring_up($vipif); /* |