diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta_net_name | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name index 825bf86f..d61ac6a3 100755 --- a/scripts/vyatta_net_name +++ b/scripts/vyatta_net_name @@ -55,7 +55,7 @@ sub get_hwid_from_children { my $children = shift; foreach my $attr (@$children) { - next unless ($attr->{'name'} =~ /^hw-id ([0-9a-f:]+)/); + next unless (($attr->{'name'} =~ /^hw-id ([0-9a-f:]+)/) || ($attr->{'name'} =~ /^hw-id "([0-9a-f:]+)"/)); return $1; } |