diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-06-02 01:06:04 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-06-02 01:06:04 -0500 |
commit | 729f899f4b90ede8e63ab9d40f68168e110221a8 (patch) | |
tree | f3383dd577afbefee3da826e4e744cd61c723470 /etc | |
parent | f877f77fdd2cff9bde9b8da75b1a8adb4a1c796e (diff) | |
download | pfsense-729f899f4b90ede8e63ab9d40f68168e110221a8.zip pfsense-729f899f4b90ede8e63ab9d40f68168e110221a8.tar.gz |
Use CARP IPs that are configured. Ticket #4370
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index ae900a7..d012276 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1738,6 +1738,9 @@ function system_ntp_configure($start_ntpd=true) { if (is_array($interfaces) && count($interfaces)) { $ntpcfg .= "interface ignore all\n"; foreach ($interfaces as $interface) { + if (strstr($interface, "_vip")) { + $interface = get_configured_carp_interface_list($interface); + } if (!is_ipaddr($interface)) { $interface = get_real_interface($interface); } |