diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-24 21:45:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-24 21:45:31 +0000 |
commit | 8e661932c8744a770946c999366831da8fc15968 (patch) | |
tree | e0a4b91eb3c3a4ded119dc5033cd5e887853c32c /etc/inc/interfaces.inc | |
parent | f005f8aef84dc0951ecf0e9ebc3e83b5a3a085cb (diff) | |
download | pfsense-8e661932c8744a770946c999366831da8fc15968.zip pfsense-8e661932c8744a770946c999366831da8fc15968.tar.gz |
Log carp state changes to system logging. Why we haven't done this prior
is a oversight on my part.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index c01ff43..b1182b4 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -495,6 +495,7 @@ function interfaces_carp_configure() { } else { mwexec("/sbin/sysctl net.inet.carp.preempt=1"); } + mwexec("/sbin/sysctl net.inet.carp.log=2"); // tell syslog about state changes $carp_sync_int = convert_friendly_interface_to_real_interface_name($pfsyncinterface); if($g['booting']) { /* install rules to alllow pfsync to sync up during boot |