From 347f48de7ca4aa5e820401b3341728a9ff1ad9bc Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Fri, 11 Jun 2010 22:35:16 +0200 Subject: [vnstat2] missing ifname_out --- config/vnstat2/vnstat2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/vnstat2') 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); } -- cgit v1.2.3