diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/carp_status.php | 2 | ||||
-rw-r--r-- | packages/freeradiussettings.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php index a7425323..566e233e 100644 --- a/packages/carp_status.php +++ b/packages/carp_status.php @@ -88,7 +88,7 @@ if($config['installedpackages']['carp']['config'] <> "") echo "<tr>"; echo "<td class=\"listlr\"><center>" . $ipaddress . " - " . $carp_int . "</td>"; echo "<td class=\"listlr\"><center>" . $status . "<br>" . $sync_status . "</td>"; - echo "<td class=\"listlr\"><center>" . $synciface . "</td>"; + echo "<td class=\"listlr\"><center>" . $synciface . " - " . convert_friendly_interface_to_real_interface_name($synciface) . "</td>"; echo "</tr>"; } diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml index ac157dc2..76c9be13 100644 --- a/packages/freeradiussettings.xml +++ b/packages/freeradiussettings.xml @@ -39,7 +39,7 @@ global $config; $fout = fopen("/usr/local/etc/raddb/radiusd.conf.dynamic","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); - $int = $config['installedpackages']['freeradiussettings']['config']['0']['interface']; + $int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['freeradiussettings']['config']['0']['interface']); $int_ip = find_interface_ip($int); $port = $config['installedpackages']['freeradiussettings']['config'][0]['port']; fwrite($fout, "{\nipaddr = " . $int_ip); |