Browse code

tcp_conn.h: logging: convert LOG to LM_*

Ovidiu Sas authored on 03/10/2014 20:45:07
Showing 1 changed files
... ...
@@ -328,8 +328,7 @@ static inline unsigned tcp_addr_hash(	struct ip_addr* ip,
328 328
 			(l_ip->u.addr32[0]^l_ip->u.addr32[1]^l_ip->u.addr32[2]^
329 329
 				l_ip->u.addr32[3]^l_port);
330 330
 	else{
331
-		LOG(L_CRIT, "tcp_addr_hash: BUG: bad len %d for an ip address\n",
332
-				ip->len);
331
+		LM_CRIT("bad len %d for an ip address\n", ip->len);
333 332
 		return 0;
334 333
 	}
335 334
 	/* make sure the first bits are influenced by all 32