Alias lldp_rem_sysdesc() as lldp_platform() to provide a clue to type of remote LLDP device.
This commit is contained in:
11
Info/LLDP.pm
11
Info/LLDP.pm
@@ -227,6 +227,13 @@ sub lldp_id {
|
||||
return \%lldp_id;
|
||||
}
|
||||
|
||||
sub lldp_platform {
|
||||
my $lldp = shift;
|
||||
my $partial = shift;
|
||||
|
||||
return $lldp->lldp_rem_sysdesc($partial);
|
||||
}
|
||||
|
||||
#sub root_ip {
|
||||
# my $lldp = shift;
|
||||
#
|
||||
@@ -440,6 +447,10 @@ Currently only returns IPv4 or MAC addresses.
|
||||
|
||||
Returns remote port ID
|
||||
|
||||
=item $lldp->lldp_platform()
|
||||
|
||||
Alias for C<lldp_rem_sysdesc()>.
|
||||
|
||||
=back
|
||||
|
||||
=head2 LLDP Remote Table (C<lldpRemTable>)
|
||||
|
||||
Reference in New Issue
Block a user