diff --git a/Changes b/Changes index d113b869..e739bff5 100644 --- a/Changes +++ b/Changes @@ -7,6 +7,7 @@ [BUG FIXES] + * #733 strip nonprinting characters from OUI table * #227 Do not overwrite partially retrieved data with null or incorrect vals * #722 manual topology should not allow same left and right port/device * #729 Discovery partially fails on invalid indexes diff --git a/bin/netdisco-deploy b/bin/netdisco-deploy index bd9ff262..a57b986a 100755 --- a/bin/netdisco-deploy +++ b/bin/netdisco-deploy @@ -238,6 +238,7 @@ sub deploy_oui { if ($line =~ m/^\s*(.{2}-.{2}-.{2})\s+\(hex\)\s+(.*)\s*$/i) { my ($oui, $company) = ($1, $2); $oui =~ s/-/:/g; + $company =~ s/[\r\n]//g; my $abbrev = shorten($company); $data{lc($oui)}{'company'} = $company; $data{lc($oui)}{'abbrev'} = $abbrev;