summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2010-11-15 10:53:35 +0100
committerSeth Mos <seth.mos@dds.nl>2010-11-15 10:53:35 +0100
commit4f3768154fc8e1cf705e1c5342aef89d3a32aefc (patch)
tree3ed5574894a03b125c99ab5af129d93c3f53ae2e /etc/rc.filter_synchronize
parent3c009080b8a300c762cd19f907d9333b9dd0363c (diff)
downloadpfsense-4f3768154fc8e1cf705e1c5342aef89d3a32aefc.zip
pfsense-4f3768154fc8e1cf705e1c5342aef89d3a32aefc.tar.gz
Properly format the IPv6 address within brackets so that Carp sync to a ipv6 address works
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index 3febef0..15131b0 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']))
OpenPOWER on IntegriCloud