aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2010-06-11 22:20:23 +0200
committerPerry Mason <crazypark2@yahoo.dk>2010-06-11 22:20:23 +0200
commit5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c (patch)
tree89ecfb970b9b287f8114088ec1513f9e370a8899
parent192850ecba83b6d72896bb5654d7329fb46871ae (diff)
downloadpfsense-packages-5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c.tar.gz
pfsense-packages-5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c.tar.bz2
pfsense-packages-5dc2dd3fa5070798dddd08f3bc0106b8c907ed0c.zip
[vnstat2] get them all
-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 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;