aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 18:32:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 18:32:03 +0000
commit1dab7314452292bbe2e659f5c3051b1361048612 (patch)
tree310f090fa5d7d89238c328698e7e74e23491b226
parentb35f0886af98d30af01b2c049b4bb9ae0e0c1e0f (diff)
downloadpfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.tar.gz
pfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.tar.bz2
pfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.zip
* Use convert_friendly_interface_to_real_interface_name
-rw-r--r--packages/carp_status.php2
-rw-r--r--packages/freeradiussettings.xml2
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);