diff options
author | Seth Mos <seth.mos@dds.nl> | 2010-11-15 10:53:35 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2010-11-15 10:53:35 +0100 |
commit | 4f3768154fc8e1cf705e1c5342aef89d3a32aefc (patch) | |
tree | 3ed5574894a03b125c99ab5af129d93c3f53ae2e /etc | |
parent | 3c009080b8a300c762cd19f907d9333b9dd0363c (diff) | |
download | pfsense-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')
-rwxr-xr-x | etc/rc.filter_synchronize | 2 |
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'])) |