Fixes
d596f728e9 ("rules: fix UCI context in error reporting")
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
if (!r->_src && !r->_dest && !r->src.any && !r->dest.any)
{
warn_section("rule", r, e, "has neither a source nor a destination zone assigned "
if (!r->_src && !r->_dest && !r->src.any && !r->dest.any)
{
warn_section("rule", r, e, "has neither a source nor a destination zone assigned "
- "- assuming an output r");
+ "- assuming an output rule");
}
if (list_empty(&r->proto))
}
if (list_empty(&r->proto))