Browse code

core: fixed debug message warning

Daniel-Constantin Mierla authored on 04/01/2016 21:56:55
Showing 1 changed files
... ...
@@ -1221,7 +1221,9 @@ int add_interfaces(char* if_name, int family, unsigned short port,
1221 1221
 			ret = -1;
1222 1222
 			break;
1223 1223
 		}
1224
-		LM_DBG("If: %8s Fam: %8x Flg: %16lx Adr: %s\n", ifa->ifa_name, ifa->ifa_addr->sa_family, ifa->ifa_flags, tmp);
1224
+		LM_DBG("If: %8s Fam: %8x Flg: %16lx Adr: %s\n",
1225
+				ifa->ifa_name, ifa->ifa_addr->sa_family,
1226
+				(unsigned long)ifa->ifa_flags, tmp);
1225 1227
 
1226 1228
 		ret = 0;
1227 1229
 	}