diff --git a/src/Val.cc b/src/Val.cc index 66e8b8d568..0fb99ff24d 100644 --- a/src/Val.cc +++ b/src/Val.cc @@ -1993,9 +1993,9 @@ ValPtr TableVal::FindOrDefault(const ValPtr& index) const bool TableVal::Contains(const IPAddr& addr) { - if ( ! subnets ) + if ( ! subnets ) { - reporter->InternalError("LookupSubnets called on wrong table type"); + reporter->InternalError("'Contains' called on wrong table/set type"); return false; }