[sr-dev] git:master:424ac4db: core: rewrite add_interfaces() with getifaddrs() based implementation

Christian Kuehnke christian at kuehnke.de
Mon Jan 4 22:54:14 CET 2016


Module: kamailio
Branch: master
Commit: 424ac4dba745dd728e225895f9fb40e287ec365f
URL: https://github.com/kamailio/kamailio/commit/424ac4dba745dd728e225895f9fb40e287ec365f

Author: Christian Kuehnke <christian at kuehnke.de>
Committer: Christian Kuehnke <christian at kuehnke.de>
Date: 2015-12-16T18:47:36+01:00

core: rewrite add_interfaces() with getifaddrs() based implementation

To make IPV6 work with Solaris, add_interfaces() had to be modified.
I decided to reimplement it with a getifaddrs() based implementation,
which is available from Solaris 11 upwards, and also on FreeBSD and
Linux. By default, the latter continues to use the netlink based
variant.

---

Modified: Makefile.defs
Modified: socket_info.c

---

Diff:  https://github.com/kamailio/kamailio/commit/424ac4dba745dd728e225895f9fb40e287ec365f.diff
Patch: https://github.com/kamailio/kamailio/commit/424ac4dba745dd728e225895f9fb40e287ec365f.patch




More information about the sr-dev mailing list