summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-11 19:09:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-11 19:09:26 +0000
commit2ffe4644bdbf9e05dc585ec3a7c60d753354cda0 (patch)
tree9d8d2d870548677879ef41b6bba16ae721afba34 /etc/inc
parent94b636a61883a508ec2415bb31ecc141ad8a1d76 (diff)
downloadpfsense-2ffe4644bdbf9e05dc585ec3a7c60d753354cda0.zip
pfsense-2ffe4644bdbf9e05dc585ec3a7c60d753354cda0.tar.gz
MFC 7509
Bring carp interface up in carp.sh too for debugging
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index b121ab2..04736ee 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -410,6 +410,7 @@ function interfaces_carp_configure() {
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew 200 " . $password);
usleep(10);
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " up");
+ fwrite($fd, "/sbin/ifconfig carp" . $carp_instances_counter . " up");
$carp_instances_counter++;
}
}
OpenPOWER on IntegriCloud