aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2010-12-22 09:41:37 +0100
committerPerry Mason <crazypark2@yahoo.dk>2010-12-22 09:41:37 +0100
commit0c0e5dd907b11cda40391ac5ab842fbe0ade883c (patch)
tree7204fc044d99fa527459aca58dcdcb1042cd1069 /config/vnstat2
parent840c54c758b9dd4da804e0becc5a611ca046eea9 (diff)
downloadpfsense-packages-0c0e5dd907b11cda40391ac5ab842fbe0ade883c.tar.gz
pfsense-packages-0c0e5dd907b11cda40391ac5ab842fbe0ade883c.tar.bz2
pfsense-packages-0c0e5dd907b11cda40391ac5ab842fbe0ade883c.zip
[vnstat2] use friendly description in vnstati
Diffstat (limited to 'config/vnstat2')
-rw-r--r--config/vnstat2/bin/vnstati.abc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/vnstat2/bin/vnstati.abc b/config/vnstat2/bin/vnstati.abc
index aa76a4b3..10fa8bfb 100644
--- a/config/vnstat2/bin/vnstati.abc
+++ b/config/vnstat2/bin/vnstati.abc
@@ -5,7 +5,8 @@ include("head.inc");
include("fbegin.inc");
$aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_interface'];
$bbbb = convert_friendly_interface_to_real_interface_name($aaaa);
-$pgtitle = gettext("Vnstati info for $aaaa ($bbbb)");
+$cccc = convert_friendly_interface_to_friendly_descr($aaaa);
+$pgtitle = gettext("Vnstati info for $cccc ($bbbb)");
echo "<a href=$myurl/pkg_edit.php?xml=vnstati.xml&id=0>Go Back</a><br />";
echo "<center><p class=\"pgtitle\">{$pgtitle}</p>";
?>