aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 18:28:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 18:28:00 +0000
commit61d24eaeafe91d8bdd83c86f1149f5037a07a3d1 (patch)
tree0337f48ecd33e0decaf78d18fcd255311f338687
parent0c3d573b3c61d8ef8eec3a661b8a5b095545c093 (diff)
downloadpfsense-packages-61d24eaeafe91d8bdd83c86f1149f5037a07a3d1.tar.gz
pfsense-packages-61d24eaeafe91d8bdd83c86f1149f5037a07a3d1.tar.bz2
pfsense-packages-61d24eaeafe91d8bdd83c86f1149f5037a07a3d1.zip
Use convert_real_interface_to_friendly_interface_name to convert friendly interface name to real interface.
Exmaple: WAN -> FXP0
-rw-r--r--packages/ntop/ntop.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index 12bb5233..3db8247d 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -63,7 +63,7 @@
foreach($ifaces as $element=>$if)
{
if($isfirst == 1) $interfaces .= ",";
- $interfaces .= $ifaces[$element];
+ $interfaces .= convert_real_interface_to_friendly_interface_name($ifaces[$element]);
$isfirst = 1;
}
system("/usr/local/bin/ntop --set-admin-password=" . $_POST['password']);