Allow <"> in remote_port (#782)
Makes the remote_port info work better with Nokia TiMOS devices.
This commit is contained in:
committed by
GitHub
parent
cbbeaf68de
commit
3f3de34f51
@@ -262,7 +262,7 @@ sub store_neighbors {
|
|||||||
$remote_port = $c_port->{$entry};
|
$remote_port = $c_port->{$entry};
|
||||||
if (defined $remote_port) {
|
if (defined $remote_port) {
|
||||||
# clean weird characters
|
# clean weird characters
|
||||||
$remote_port =~ s/[^\d\s\/\.,()\w:-]+//gi;
|
$remote_port =~ s/[^\d\s\/\.,"()\w:-]+//gi;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
debug sprintf ' [%s] neigh - no remote port found for port %s at %s',
|
debug sprintf ' [%s] neigh - no remote port found for port %s at %s',
|
||||||
|
|||||||
Reference in New Issue
Block a user