diff options
Diffstat (limited to 'config/vnstat2/bin')
-rw-r--r-- | config/vnstat2/bin/diag_vnstat2.abc | 2 | ||||
-rw-r--r-- | config/vnstat2/bin/vnstati.abc | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/config/vnstat2/bin/diag_vnstat2.abc b/config/vnstat2/bin/diag_vnstat2.abc index e4ef0f21..ec19a0b2 100644 --- a/config/vnstat2/bin/diag_vnstat2.abc +++ b/config/vnstat2/bin/diag_vnstat2.abc @@ -40,7 +40,7 @@ require("guiconfig.inc"); global $config; -$aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_output_nic']; +$aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_interface2']; $bbbb = convert_real_interface_to_friendly_descr($aaaa); $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); diff --git a/config/vnstat2/bin/vnstati.abc b/config/vnstat2/bin/vnstati.abc index 08b31541..2f93e5fe 100644 --- a/config/vnstat2/bin/vnstati.abc +++ b/config/vnstat2/bin/vnstati.abc @@ -4,9 +4,8 @@ global $config; include("head.inc"); include("fbegin.inc"); $aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_interface']; -$bbbb = convert_friendly_interface_to_real_interface_name($aaaa); $cccc = convert_real_interface_to_friendly_descr($bbbb); -$pgtitle = gettext("Vnstati info for $cccc ($bbbb)"); +$pgtitle = gettext("Vnstati info for $cccc ($aaaa)"); echo "<a href=$myurl/pkg_edit.php?xml=vnstati.xml&id=0>Go Back</a><br />"; echo "<center><p class=\"pgtitle\">{$pgtitle}</p>"; ?> |