[sr-dev] git:master:6fe2b87e: core: fixed debug message warning
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jan 4 22:57:23 CET 2016
Module: kamailio
Branch: master
Commit: 6fe2b87e1a6dff2a4351d83e91bd0de809530241
URL: https://github.com/kamailio/kamailio/commit/6fe2b87e1a6dff2a4351d83e91bd0de809530241
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/6fe2b87e1a6dff2a4351d83e91bd0de809530241.diff
Patch: https://github.com/kamailio/kamailio/commit/6fe2b87e1a6dff2a4351d83e91bd0de809530241.patch
---
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;
}
More information about the sr-dev
mailing list