For VCL_acl, log the ACL entry's netmask

As of now, this makes no difference to the vcc-generated code.
parent 9a1c431c
......@@ -416,6 +416,8 @@ vcc_acl_emit_tokens(const struct vcc *tl, const struct acl_e *ae)
Fh(tl, 0, "%s\"\\\"\" ", sep);
EncToken(tl->fh, t);
Fh(tl, 0, " \"\\\"\"");
} else if (t == ae->t_mask) {
Fh(tl, 0, " \"%u\"", ae->mask - 8);
} else {
Fh(tl, 0, "%s\"%.*s\"", sep, PF(t));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment