summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta_net_name2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name
index d34624ae..43bed36d 100755
--- a/scripts/vyatta_net_name
+++ b/scripts/vyatta_net_name
@@ -82,7 +82,7 @@ sub biosdevname {
# biosdevname renames wlanX to ethX ??
if ($ifname =~ /^eth/) {
- my $biosname = `/sbin/biosdevname -i $ifname`;
+ my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname`;
chomp $biosname;
return $biosname if ($biosname ne '');