summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
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