Module: kamailio
Branch: master
Commit: 6fe2b87e1a6dff2a4351d83e91bd0de809530241
URL:
https://github.com/kamailio/kamailio/commit/6fe2b87e1a6dff2a4351d83e91bd0de…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-01-04T22:56:55+01:00
core: fixed debug message warning
---
Modified: socket_info.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6fe2b87e1a6dff2a4351d83e91bd0de…
Patch:
https://github.com/kamailio/kamailio/commit/6fe2b87e1a6dff2a4351d83e91bd0de…
---
diff --git a/socket_info.c b/socket_info.c
index e2d9147..d06fdcf 100644
--- a/socket_info.c
+++ b/socket_info.c
@@ -1221,7 +1221,9 @@ int add_interfaces(char* if_name, int family, unsigned short port,
ret = -1;
break;
}
- LM_DBG("If: %8s Fam: %8x Flg: %16lx Adr: %s\n", ifa->ifa_name,
ifa->ifa_addr->sa_family, ifa->ifa_flags, tmp);
+ LM_DBG("If: %8s Fam: %8x Flg: %16lx Adr: %s\n",
+ ifa->ifa_name, ifa->ifa_addr->sa_family,
+ (unsigned long)ifa->ifa_flags, tmp);
ret = 0;
}