Skip to content

Commit

Permalink
vcc_types: Use VCL_{LOW,HIGH} for default symbols
Browse files Browse the repository at this point in the history
I shouldn't have picked the magic values from vmodtool.py in the first
place.

Refs #4190
  • Loading branch information
dridi committed Sep 24, 2024
1 parent f2c2596 commit 45faed2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/libvcc/vcc_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ static const struct vcc_method backend_methods[] = {
static struct symbol default_backend[1] = {{
.magic = SYMBOL_MAGIC,
.name = "default",
.lorev = 0,
.hirev = 99,
.lorev = VCL_LOW,
.hirev = VCL_HIGH,
.kind = SYM_BACKEND,
.type = DEFAULT,
.rname = "*(VCL_conf.default_director)",
Expand Down Expand Up @@ -163,8 +163,8 @@ const struct type IP[1] = {{
static struct symbol default_probe[1] = {{
.magic = SYMBOL_MAGIC,
.name = "default",
.lorev = 0,
.hirev = 99,
.lorev = VCL_LOW,
.hirev = VCL_HIGH,
.kind = SYM_PROBE,
.type = DEFAULT,
.rname = "vgc_probe_default",
Expand Down

0 comments on commit 45faed2

Please sign in to comment.