fix for mac() when topology off
This commit is contained in:
@@ -284,6 +284,8 @@ sub mac {
|
|||||||
my $mac = $sonmp_topo_mac->{$entry};
|
my $mac = $sonmp_topo_mac->{$entry};
|
||||||
return $mac;
|
return $mac;
|
||||||
}
|
}
|
||||||
|
# Topology turned off, not supported.
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|||||||
Reference in New Issue
Block a user