don't think _lldp_loc_id_os needs underscore

This commit is contained in:
Oliver Gorwits
2022-08-12 17:20:42 +01:00
parent ac18ab7b10
commit c514baa9b2
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}