Merge remote-tracking branch 'origin/og-remoteport-fix' into og-remoteport-fix
This commit is contained in:
@@ -311,7 +311,6 @@ sub store_neighbors {
|
|||||||
return @to_discover;
|
return @to_discover;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
sub long_port {
|
sub long_port {
|
||||||
my $port = shift or return '';
|
my $port = shift or return '';
|
||||||
$port =~ s/^([a-z]{2})(\d.+)$/$1%$2/i;
|
$port =~ s/^([a-z]{2})(\d.+)$/$1%$2/i;
|
||||||
@@ -326,8 +325,6 @@ sub short_port {
|
|||||||
return (($start && $end) ? "${start}${end}" : $port);
|
return (($start && $end) ? "${start}${end}" : $port);
|
||||||
}
|
}
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> master
|
|
||||||
# take data from the topology table and update remote_ip and remote_port
|
# take data from the topology table and update remote_ip and remote_port
|
||||||
# in the devices table. only use root_ips and skip any bad topo entries.
|
# in the devices table. only use root_ips and skip any bad topo entries.
|
||||||
sub set_manual_topology {
|
sub set_manual_topology {
|
||||||
|
|||||||
Reference in New Issue
Block a user