avoid warning on undefined remote type

This commit is contained in:
Oliver Gorwits
2013-05-29 19:51:37 +01:00
parent 5d9b58a6b2
commit d5565423f2

View File

@@ -656,6 +656,9 @@ sub store_neighbors {
$remote_type = 'IP Phone - '. $remote_type $remote_type = 'IP Phone - '. $remote_type
if $remote_type !~ /ip phone/i; if $remote_type !~ /ip phone/i;
} }
else {
$remote_type = '';
}
# hack for devices seeing multiple neighbors on the port # hack for devices seeing multiple neighbors on the port
if (ref [] eq ref $remote_ip) { if (ref [] eq ref $remote_ip) {