Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oob_probe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
oob_probe
Commits
ddf0bae6
Commit
ddf0bae6
authored
Oct 24, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
name the vmod correctly in error messages
parent
63709201
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vmod.c
src/vmod.c
+3
-3
No files found.
src/vmod.c
View file @
ddf0bae6
...
...
@@ -73,7 +73,7 @@ check(VRT_CTX, VCL_BACKEND be, VCL_PROBE probe, VCL_STRING port)
AN
(
port
);
if
(
be
->
resolve
!=
NULL
)
{
errmsg
(
ctx
,
"vmod
backend_
oob_probe error: "
errmsg
(
ctx
,
"vmod oob_probe error: "
"%s is a cluster director, not a backend"
,
be
->
vcl_name
);
return
0
;
}
...
...
@@ -131,7 +131,7 @@ vmod_port(VRT_CTX, VCL_BACKEND be, VCL_PROBE probe, VCL_STRING port)
if
(
bp
->
ipv6_addr
!=
NULL
)
sa6
=
get_suckaddr
(
bp
->
ipv6_addr
,
port
,
AF_INET6
);
if
(
sa4
==
NULL
&&
sa6
==
NULL
)
{
errmsg
(
ctx
,
"vmod
backend_
oob_probe error: "
errmsg
(
ctx
,
"vmod oob_probe error: "
"Bad port specification %s"
,
port
);
return
;
}
...
...
@@ -154,7 +154,7 @@ vmod_addr(VRT_CTX, VCL_BACKEND be, VCL_PROBE probe, VCL_STRING host,
sa4
=
get_suckaddr
(
host
,
port
,
AF_INET
);
sa6
=
get_suckaddr
(
host
,
port
,
AF_INET6
);
if
(
sa4
==
NULL
&&
sa6
==
NULL
)
{
errmsg
(
ctx
,
"vmod
backend_
oob_probe error: "
errmsg
(
ctx
,
"vmod oob_probe error: "
"Cannot resolve %s:%s as a unique IPv4 or IPv6 address"
,
host
,
port
);
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment