#378 fix several uninitialized vars

This commit is contained in:
Oliver Gorwits
2021-10-07 10:19:28 +01:00
parent d535cea7db
commit a0cd7c57e2
3 changed files with 5 additions and 5 deletions

View File

@@ -357,8 +357,8 @@ sub interfaces {
sub vendor {
my $l3 = shift;
my $descr = $l3->description();
my $id = $l3->id();
my $descr = $l3->description() || '';
my $id = $l3->id() || '';
# .1.3.6.1.4.1.9.1 is the CISCO-PRODUCTS-MIB
# .1.3.6.1.4.1.9.9.368.4 is an old tree that Cisco CSSs were numbered from