aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2010-06-11 22:35:16 +0200
committerPerry Mason <crazypark2@yahoo.dk>2010-06-11 22:35:16 +0200
commit347f48de7ca4aa5e820401b3341728a9ff1ad9bc (patch)
tree9d522cae9637acd9913511fa8640446a8122b8d0 /config/vnstat2
parent5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c (diff)
downloadpfsense-packages-347f48de7ca4aa5e820401b3341728a9ff1ad9bc.tar.gz
pfsense-packages-347f48de7ca4aa5e820401b3341728a9ff1ad9bc.tar.bz2
pfsense-packages-347f48de7ca4aa5e820401b3341728a9ff1ad9bc.zip
[vnstat2] missing ifname_out
Diffstat (limited to 'config/vnstat2')
-rw-r--r--config/vnstat2/vnstat2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc
index 86a29637..9bbf43ce 100644
--- a/config/vnstat2/vnstat2.inc
+++ b/config/vnstat2/vnstat2.inc
@@ -81,7 +81,7 @@ function vnstat_install_config() {
$real_nic_names3 = get_real_interface($ifdescr);
If ($real_nic_names3 == $vnstat_nic_out)
{
- $ifname_out = $ifname;
+ $ifname_out = $ifdescr;
$iface_title_array_items = "\$iface_title['$vnstat_nic_out'] = '$ifname_out';\n";
array_push($iface_title_array_items2, $iface_title_array_items);
}