diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 18:44:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 18:44:59 +0000 |
commit | b754c6d0cb2e106a2f2f2886cc2b07aea3c83d16 (patch) | |
tree | 27b64ad897837dfb34789c75e07b3d44d43e7ca4 /etc | |
parent | b627d72c1e8ed8a35127145445685213c653e7e5 (diff) | |
download | pfsense-b754c6d0cb2e106a2f2f2886cc2b07aea3c83d16.zip pfsense-b754c6d0cb2e106a2f2f2886cc2b07aea3c83d16.tar.gz |
Surround carp password with ""
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 2bdffae..9f79663 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -406,7 +406,7 @@ function interfaces_carp_configure() { mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " create"); $broadcast_address = gen_subnet_max($vip['subnet'], $vip['subnet_bits']); if($vip['password'] != "") - $password = " pass " . $vip['password']; + $password = " pass \"" . $vip['password'] . "\""; if($debugging) echo "Configuring carp{$carp_instances_counter}.\n"; fwrite($fd, "/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew 200 " . $password . "\n"); |