Commit 3e5d5157 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Also use the VCL_PROBE type where it makes sense

Refs c9d3b3ff
parent f56cce5c
......@@ -262,7 +262,7 @@ VCL_Name(const struct vcl *vcl)
return (vcl->loaded_name);
}
const struct vrt_backend_probe *
VCL_PROBE
VCL_DefaultProbe(const struct vcl *vcl)
{
......
......@@ -303,7 +303,7 @@ struct vrt_backend {
VRT_BACKEND_FIELDS(const)
const struct suckaddr *ipv4_suckaddr;
const struct suckaddr *ipv6_suckaddr;
const struct vrt_backend_probe *probe;
VCL_PROBE probe;
};
#define VRT_BACKEND_PROBE_FIELDS(rigid) \
......
......@@ -652,7 +652,7 @@ struct VCL_conf {
unsigned syntax;
VCL_BACKEND *default_director;
const struct vrt_backend_probe *default_probe;
VCL_PROBE default_probe;
unsigned nref;
const struct vrt_ref *ref;
......
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