Module: sip-router
Branch: master
Commit: 96e021babe6da540ac8e47f35b30bb0fd7146245
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=96e021b…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: Mon Nov 11 12:40:05 2013 -0500
rtpproxy-ng: remove code artifact that broke IPv6 received-from addresses
---
modules/rtpproxy-ng/rtpproxy.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/rtpproxy-ng/rtpproxy.c b/modules/rtpproxy-ng/rtpproxy.c
index 1760892..a8b5da7 100644
--- a/modules/rtpproxy-ng/rtpproxy.c
+++ b/modules/rtpproxy-ng/rtpproxy.c
@@ -1285,9 +1285,7 @@ static bencode_item_t *rtpp_function_call(bencode_buffer_t *bencbuf,
struct sip_
item = bencode_list(bencbuf);
bencode_dictionary_add(dict, "received-from", item);
bencode_list_add_string(item, (msg->rcv.src_ip.af == AF_INET) ? "IP4" : (
-#ifdef USE_IPV6
(msg->rcv.src_ip.af == AF_INET6) ? "IP6" :
-#endif
"?"
) );
bencode_list_add_string(item, ip_addr2a(&msg->rcv.src_ip));