diff options
author | Perry Mason <crazypark2@yahoo.dk> | 2010-06-11 22:06:30 +0200 |
---|---|---|
committer | Perry Mason <crazypark2@yahoo.dk> | 2010-06-11 22:06:30 +0200 |
commit | 192850ecba83b6d72896bb5654d7329fb46871ae (patch) | |
tree | 2d7f85d285819c0d55d65eba8577480e103b8505 /config/vnstat2/vnstat2.inc | |
parent | 161af1e81dcd2139c799d5f5a271f8143887dc99 (diff) | |
download | pfsense-packages-192850ecba83b6d72896bb5654d7329fb46871ae.tar.gz pfsense-packages-192850ecba83b6d72896bb5654d7329fb46871ae.tar.bz2 pfsense-packages-192850ecba83b6d72896bb5654d7329fb46871ae.zip |
[vnstat2] fixing how real interfaces names are collected
Diffstat (limited to 'config/vnstat2/vnstat2.inc')
-rw-r--r-- | config/vnstat2/vnstat2.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc index ff8b84a2..efa2afd4 100644 --- a/config/vnstat2/vnstat2.inc +++ b/config/vnstat2/vnstat2.inc @@ -51,8 +51,7 @@ function vnstat_install_config() { $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; } foreach ($ifdescrs as $ifdescr => $ifname): - $ifinfo = get_interface_info($ifdescr); - $real_nic_names = convert_friendly_interface_to_real_interface_name($ifname); + $real_nic_names = get_real_interface($ifdescr); array_push($array_of_real_nic_names, $real_nic_names); endforeach; // Get already nic's assigned to vnstat |