aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2011-01-06 00:24:52 +0100
committerPerry Mason <crazypark2@yahoo.dk>2011-01-06 00:24:52 +0100
commit14cc86c7763da7759d06d8153ebb97234ff736fc (patch)
tree1c7c7ee40ebad7ff54af8a42ec91a699e9c88f54 /config/vnstat2
parent3a7497ce62b693025cb60e05626647495f54de48 (diff)
downloadpfsense-packages-14cc86c7763da7759d06d8153ebb97234ff736fc.tar.gz
pfsense-packages-14cc86c7763da7759d06d8153ebb97234ff736fc.tar.bz2
pfsense-packages-14cc86c7763da7759d06d8153ebb97234ff736fc.zip
[vnstat2] Don't forget friendly desciption
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..08b31541 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_real_interface_to_friendly_descr($bbbb);
+$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>";
?>