Skip to content
Snippets Groups Projects
Commit ef6e3a16 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Make sure we don't generate undefined errors

parent c7c8b70c
No related branches found
No related tags found
No related merge requests found
......@@ -601,7 +601,7 @@ sub getCIDFromTcLimitClass
# Grab ref
my $ref = __getRefByMinorTcClass($interface,$majorTcClass,$minorTcClass);
# Chop off _class: and return if we did
if ($ref =~ s/^_class_://) {
if (defined($ref) && $ref =~ s/^_class_://) {
return $ref;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment