[sr-dev] git:master: core and modules: make IPv6 default, remove compile time flags

Henning Westerholt hw at kamailio.org
Sat May 18 10:18:38 CEST 2013


Module: sip-router
Branch: master
Commit: abdf40dabb7e7d44398056b9c2c72c0615debb52
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=abdf40dabb7e7d44398056b9c2c72c0615debb52

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date:   Sat May 18 10:07:25 2013 +0200

core and modules: make IPv6 default, remove compile time flags

* Make IPv6 the default in the core and affected modules
* it has been default switched on since a long time, and was introduced in 2002
* even on embedded systems one probably want now proper IPv6 support
* there was an issue in cygwin in 2008, but IPv6 is there also available since v1.7
* remove over 160 #ifdefs, cleanup the code a lot and removes many of rarely
  tested alternative code paths to ease support of the codebase
* note for gentoo maintainer: please review your packages, they will maybe not
  work now correctly anymore if somebody specified -ipv6 in the use flags

---

 Makefile.defs                      |    7 ++--
 cfg.lex                            |    6 +---
 cfg.y                              |   15 --------
 cfg_core.c                         |    4 --
 dns_cache.c                        |   71 ------------------------------------
 doc/cfg_list/Makefile              |    2 +-
 doc/counter_list/Makefile          |    2 +-
 doc/rpc_list/Makefile              |    2 +-
 doc/select_list/Makefile           |    2 +-
 dst_blacklist.c                    |   22 -----------
 forward.c                          |   14 -------
 globals.h                          |    2 -
 ip_addr.c                          |   10 -----
 ip_addr.h                          |   36 ------------------
 main.c                             |   10 -----
 modules/drouting/drouting.c        |    2 -
 modules/lcr/lcr_mod.c              |   18 ---------
 modules/mi_datagram/datagram_fnc.c |    2 -
 modules/nathelper/nathelper.c      |    2 -
 modules/permissions/address.c      |    4 --
 modules/sipcapture/hep.c           |   10 -----
 modules/sipcapture/hep.h           |    6 ---
 modules/sipcapture/sipcapture.c    |    2 -
 modules/siptrace/siptrace.c        |   12 ------
 modules/stun/kam_stun.c            |    4 --
 modules/tls/tls_config.c           |    9 -----
 modules/tm/t_msgbuilder.c          |    2 -
 msg_translator.c                   |    9 -----
 name_alias.h                       |    2 -
 obsolete/permissions/ip_set.c      |   14 -------
 obsolete/permissions/ip_set.h      |    2 -
 obsolete/permissions/ip_set_rpc.c  |    2 -
 obsolete/permissions/permissions.c |    2 -
 obsolete/registrar/save.c          |    4 --
 pt.c                               |    4 --
 resolve.c                          |    6 ---
 resolve.h                          |   12 ------
 sctp_server.c                      |    6 ---
 socket_info.c                      |   18 ---------
 tcp_main.c                         |   10 -----
 test/p_uri.c                       |    4 --
 test/parse_to_body.c               |    4 --
 udp_server.c                       |   10 -----
 ver_defs.h                         |    8 +----
 44 files changed, 9 insertions(+), 386 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=abdf40dabb7e7d44398056b9c2c72c0615debb52



More information about the sr-dev mailing list