System: High Availability: Settings - fix version ignored due to selecting the wrong field (https://github.com/opnsense/core/issues/7485)

This commit is contained in:
Ad Schellevis 2024-06-01 16:40:13 +02:00
parent c216e560b3
commit 575f9ccaab

View File

@ -1287,8 +1287,8 @@ function interfaces_carp_setup()
}
$version = '';
if (!empty($config['hasync']['version'])) {
$version = 'version ' . escapeshellarg($config['hasync']['version']);
if (!empty($config['hasync']['pfsyncversion'])) {
$version = 'version ' . escapeshellarg($config['hasync']['pfsyncversion']);
}
$intf_stats = legacy_interfaces_details();