UTF8 decode the remote type string in neighbor protocol
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2.028012 - 2014-07-22
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* UTF8 decode the remote type string in neighbor protocol
|
||||||
|
|
||||||
2.028011 - 2014-07-22
|
2.028011 - 2014-07-22
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|||||||
@@ -686,7 +686,7 @@ sub store_neighbors {
|
|||||||
my $remote_ip = $c_ip->{$entry};
|
my $remote_ip = $c_ip->{$entry};
|
||||||
my $remote_ipad = NetAddr::IP::Lite->new($remote_ip);
|
my $remote_ipad = NetAddr::IP::Lite->new($remote_ip);
|
||||||
my $remote_port = undef;
|
my $remote_port = undef;
|
||||||
my $remote_type = $c_platform->{$entry} || '';
|
my $remote_type = Encode::decode('UTF-8', $c_platform->{$entry} || '');
|
||||||
my $remote_id = Encode::decode('UTF-8', $c_id->{$entry});
|
my $remote_id = Encode::decode('UTF-8', $c_id->{$entry});
|
||||||
my $remote_cap = $c_cap->{$entry} || [];
|
my $remote_cap = $c_cap->{$entry} || [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user