Module: sip-router
Branch: master
Commit: 87456bae50b55501c25f33a6728f4469639e0599
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87456ba…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Wed Dec 5 10:26:29 2012 +0200
core: print debug message instead of info message when trying to resolve
something that is not domain name.
---
resolve.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/resolve.c b/resolve.c
index faabb96..73715e3 100644
--- a/resolve.c
+++ b/resolve.c
@@ -725,8 +725,8 @@ struct rdata* get_record(char* name, int type, int flags)
if (((c >= 'a') && (c <= 'z')) || ((c >=
'A') && (c <= 'Z')) ||
((c >= '0') && (c <= '9')) || (name[i] == '.')
||
(name[i] == '-') || (name[i] == '_'))
- continue;
- LM_INFO("invalid domain name '%s'\n", name);
+ continue;
+ LM_DBG("'%s' is not domain name\n", name);
return 0;
}