don't think _lldp_loc_id_os needs underscore
This commit is contained in:
@@ -53,7 +53,7 @@ $VERSION = '3.86';
|
||||
'lldp_sysdesc' => 'lldpLocSysDesc',
|
||||
'lldp_sys_cap' => 'lldpLocSysCapEnabled',
|
||||
'lldp_loc_id_type' => 'lldpLocChassisIdSubtype',
|
||||
'_lldp_loc_id_os' => 'lldpLocChassisId',
|
||||
'lldp_loc_id_os' => 'lldpLocChassisId',
|
||||
);
|
||||
|
||||
%FUNCS = (
|
||||
@@ -331,7 +331,7 @@ sub lldp_id {
|
||||
sub lldp_loc_id {
|
||||
my $lldp = shift;
|
||||
my $ch_type = $lldp->lldp_loc_id_type();
|
||||
my $ch = $lldp->_lldp_loc_id_os();
|
||||
my $ch = $lldp->lldp_loc_id_os();
|
||||
return $lldp->_lldp_id_string($ch, $ch_type);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ sub setup : Tests(setup) {
|
||||
'_lldp_rem_sysname' => 1,
|
||||
'_lldp_rem_id_type' => 1,
|
||||
'_lldp_rem_id' => 1,
|
||||
'__lldp_loc_id_os' => pack("H*", 'ABCD12345678'),
|
||||
'_lldp_loc_id_os' => pack("H*", 'ABCD12345678'),
|
||||
'_lldp_loc_id_type' => 'macAddress',
|
||||
'_lldp_rem_cap_spt' => 1,
|
||||
'_lldp_rem_media_cap_spt' => 1,
|
||||
|
||||
Reference in New Issue
Block a user