git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Routing: dnslookup and manualroute routers: ipv4_only, ipv4_prefer options. Bug...
[exim.git]
/
src
/
src
/
routers
/
queryprogram.c
diff --git
a/src/src/routers/queryprogram.c
b/src/src/routers/queryprogram.c
index c7886923c7cb423f46bc184f3b4e3d6cf3037efa..251b0b89f2d8cab2bb5a24e18eff106b131805f4 100644
(file)
--- a/
src/src/routers/queryprogram.c
+++ b/
src/src/routers/queryprogram.c
@@
-520,14
+520,14
@@
s = expand_string(US"${extract{hosts}{$value}}");
if (*s != 0)
{
if (*s != 0)
{
- int lookup_type =
lk_default
;
+ int lookup_type =
LK_DEFAULT
;
uschar *ss = expand_string(US"${extract{lookup}{$value}}");
lookup_value = NULL;
if (*ss != 0)
{
uschar *ss = expand_string(US"${extract{lookup}{$value}}");
lookup_value = NULL;
if (*ss != 0)
{
- if (Ustrcmp(ss, "byname") == 0) lookup_type =
lk_byname
;
- else if (Ustrcmp(ss, "bydns") == 0) lookup_type =
lk_bydns
;
+ if (Ustrcmp(ss, "byname") == 0) lookup_type =
LK_BYNAME
;
+ else if (Ustrcmp(ss, "bydns") == 0) lookup_type =
LK_BYDNS
;
else
{
addr->message = string_sprintf("bad lookup type \"%s\" yielded by "
else
{
addr->message = string_sprintf("bad lookup type \"%s\" yielded by "