From 4f3768154fc8e1cf705e1c5342aef89d3a32aefc Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Mon, 15 Nov 2010 10:53:35 +0100 Subject: [PATCH] Properly format the IPv6 address within brackets so that Carp sync to a ipv6 address works --- etc/rc.filter_synchronize | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index 3febef0c1a..15131b0279 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -238,6 +238,8 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) { $port = "443"; } + if(is_ipaddrv6($carp['synchronizetoip'])) + $carp['synchronizetoip'] = "[{$carp['synchronizetoip']}]"; $synchronizetoip .= $carp['synchronizetoip']; if ($carp['synchronizerules'] != "") { if (!is_array($config['filter']))