MT#13919 Properly strip in-between dashes from mac

Change-Id: Iedb72e5124c69706b1da4bcb493c8f2f3ea31a42
changes/51/2051/2
Andreas Granig 10 years ago
parent ee29f280f6
commit b2e74c4437

@ -1195,7 +1195,7 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() {
$id =~ s/^([^\=]+)\=0$/$1/;
$id = lc $id;
$id =~ s/\-[a-z]+$//;
$id =~ s/\-$//g;
$id =~ s/\-//g;
=pod
my $yealink_key;

Loading…
Cancel
Save