From 5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Fri, 11 Jun 2010 22:20:23 +0200 Subject: [vnstat2] get them all --- config/vnstat2/vnstat2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc index efa2afd4..86a29637 100644 --- a/config/vnstat2/vnstat2.inc +++ b/config/vnstat2/vnstat2.inc @@ -78,7 +78,7 @@ function vnstat_install_config() { $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; } foreach ($ifdescrs as $ifdescr => $ifname): - $real_nic_names3 = convert_friendly_interface_to_real_interface_name($ifname); + $real_nic_names3 = get_real_interface($ifdescr); If ($real_nic_names3 == $vnstat_nic_out) { $ifname_out = $ifname; -- cgit v1.2.3