diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/carp.xml | 2 | ||||
-rw-r--r-- | packages/carp_settings.xml | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/packages/carp.xml b/packages/carp.xml index fed33e3e..fa20ef1d 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -240,7 +240,7 @@ if($carp['balancing'] != "") $using_arp_balance = 1; $carp_sync_int = convert_friendly_interface_to_real_interface_name($carp['pfsyncinterface']); - $carp_sync_ip = $carp['pfsyncip']; + $carp_sync_ip = find_interface_ip($carp_sync_int); fwrite($fout, "/sbin/ifconfig pfsync0 create\n"); fwrite($fout, "/sbin/ifconfig pfsync0 {$carp_sync_ip}/24\n"); fwrite($fout, "/sbin/ifconfig pfsync0 syncif " . $carp_sync_int . "\n"); diff --git a/packages/carp_settings.xml b/packages/carp_settings.xml index b52b96a0..f18accb3 100644 --- a/packages/carp_settings.xml +++ b/packages/carp_settings.xml @@ -63,16 +63,10 @@ <type>checkbox</type> </field> <field> - <fielddescr>Synchronize IP Address</fielddescr> - <fieldname>pfsyncip</fieldname> - <description>PFSync IP Address</description> - <type>input</type> - </field> - <field> <fielddescr>Synchronize Interface</fielddescr> <fieldname>pfsyncinterface</fieldname> <type>interfaces_selection</type> - <description>If Synchronize State is enabled, it will utilize this interface for communication. NOTE! You must define a IP on each machin participating in this failver group.</description> + <description>If Synchronize State is enabled, it will utilize this interface for communication. NOTE! You must define a IP on each machin participating in this failver group. NOTE: You must have an IP assigned to the interface on any participating sync nodes.</description> </field> <field> <fielddescr>Load Balancing</fielddescr> |