summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-06-02 01:06:04 -0500
committerChris Buechler <cmb@pfsense.org>2015-06-02 01:06:28 -0500
commitc4b3bd50fcdf96ee81e8352e3d3c524a2c3b6cf2 (patch)
treef64fceb9517048ddfb96757a76d1f233b8ba9815 /etc/inc/system.inc
parentb4576c903af27013ce79a64511a2059942a5b471 (diff)
downloadpfsense-c4b3bd50fcdf96ee81e8352e3d3c524a2c3b6cf2.zip
pfsense-c4b3bd50fcdf96ee81e8352e3d3c524a2c3b6cf2.tar.gz
Use CARP IPs that are configured. Ticket #4370
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 362af97..cefc177 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1877,6 +1877,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);
}
OpenPOWER on IntegriCloud