[master] 4515993f4 Teach ACL's how to find their own name.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Jun 3 18:08:10 UTC 2019
commit 4515993f430c6dd4f7343e8b88ec58771ac7ddee
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Jun 3 13:56:46 2019 +0000
Teach ACL's how to find their own name.
diff --git a/lib/libvcc/vcc_types.c b/lib/libvcc/vcc_types.c
index 3611dcef5..196efa539 100644
--- a/lib/libvcc/vcc_types.c
+++ b/lib/libvcc/vcc_types.c
@@ -37,6 +37,7 @@
const struct type ACL[1] = {{
.magic = TYPE_MAGIC,
.name = "ACL",
+ .tostring = "((\v1)->name)",
}};
const struct type BACKEND[1] = {{
More information about the varnish-commit
mailing list