Reflect VXID changes in varnish-cache

parent 49ffb731
......@@ -41,6 +41,10 @@
#include "ph.h"
#include "VSC_selector.h"
#ifndef NO_VXID
#define NO_VXID (0U)
#endif
struct vsc_entry {
unsigned magic;
#define VMOD_SELECTOR_VSC_MAGIC 0x4b99b64a
......@@ -150,7 +154,7 @@ compile(VRT_CTX, struct VPFX(selector_set) *set, const char *method)
members = set->lomembers;
if (members == NULL || set->nmembers == 0) {
CHECK_OBJ_NOTNULL(ctx->msg, VSB_MAGIC);
VSL(SLT_VCL_Error, 0, "VCL %s vmod selector %s%s: "
VSL(SLT_VCL_Error, NO_VXID, "VCL %s vmod selector %s%s: "
"no entries were added, nothing to compile, "
"%s.match() will always fail\n", VCL_Name(ctx->vcl),
set->vcl_name, method, set->vcl_name);
......
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