// KNOWN/UNKNOWN built-ins. The callback always returns true to avoid
// reporting the parsing error. The dependency check is performed later
// at the database level.
- parser.parse(expression, Element::create(client_class->getTest()), AF_INET,
+ parser.parse(expression, Element::create(client_class->getTest()), AF_INET6,
[&dependencies, &depend_on_known](const ClientClass& client_class) -> bool {
if (isClientClassBuiltIn(client_class)) {
if ((client_class == "KNOWN") || (client_class == "UNKNOWN")) {
}
// Create first class.
auto class1 = test_client_classes_[0];
+ class1->setTest("pkt4.msgtype == 1");
ASSERT_NO_THROW(cbptr_->createUpdateClientClass4(ServerSelector::ALL(), class1, ""));
{
SCOPED_TRACE("client class foo is created");
}
// Create first class.
auto class1 = test_client_classes_[0];
+ class1->setTest("pkt6.msgtype == 1");
ASSERT_NO_THROW_LOG(cbptr_->createUpdateClientClass6(ServerSelector::ALL(), class1, ""));
{
SCOPED_TRACE("client class foo is created");