diff --git a/usr/local/pkg/carp_settings.xml b/usr/local/pkg/carp_settings.xml
index 62791fc89a..d07d773235 100644
--- a/usr/local/pkg/carp_settings.xml
+++ b/usr/local/pkg/carp_settings.xml
@@ -117,13 +117,13 @@
synchronizelb
When this option is enabled, this system will automatically sync the Load Balancer settings over to the other carp host when changes are made.
checkbox
-
+
Synchronize Virtual IPs
synchronizevirtualip
When this option is enabled, this system will automatically sync the Virtual IP (minus proxyarp) settings over to the other carp host when changes are made.
checkbox
-
+
Synchronize traffic shaper
synchronizetrafficshaper
@@ -135,7 +135,7 @@
synchronizednsforwarder
When this option is enabled, this system will automatically sync the DNS Forwarder hosts/domains over to the other carp host when changes are made.
checkbox
-
+
Synchronize to IP
synchronizetoip
@@ -150,11 +150,16 @@
password
+
+ if($_POST["synchronizetoip"])
+ if(!is_ipaddr($_POST["synchronizetoip"]))
+ $input_errors[] = "You must specify a valid IP address.";
+
/* setup carp interfaces */
interfaces_carp_configure();
interfaces_carp_bring_up_final();
/* force a filter configure for syncing */
filter_configure();
-
+
\ No newline at end of file