Browse code

core: print debug message instead of info message when trying to resolve something that is not domain name.

Juha Heinanen authored on 05/12/2012 08:26:29
Showing 1 changed files
... ...
@@ -725,8 +725,8 @@ struct rdata* get_record(char* name, int type, int flags)
725 725
 	    if (((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z')) ||
726 726
 		((c >= '0') && (c <= '9')) || (name[i] == '.') ||
727 727
 		(name[i] == '-') || (name[i] == '_'))
728
-		continue;
729
-	    LM_INFO("invalid domain name '%s'\n", name);
728
+			continue;
729
+	    LM_DBG("'%s' is not domain name\n", name);
730 730
 	    return 0;
731 731
 	}
732 732