summaryrefslogtreecommitdiff
path: root/addons/ooh323c/src/ooLogChan.c
diff options
context:
space:
mode:
authorAlexandr Anikin <may@telecom-service.ru>2011-04-12 21:59:18 +0000
committerAlexandr Anikin <may@telecom-service.ru>2011-04-12 21:59:18 +0000
commite29ac9951c4edcae9364961425e5a74e58cbbd64 (patch)
tree3ca5da34da55aae1db8b238a24491f54585f43d4 /addons/ooh323c/src/ooLogChan.c
parent287ad27d7602c6dd4da729cf6e32c01ffd597657 (diff)
IPv6 support for chan_ooh323
IPv6 support for ooh323, bindaddr, peers and users ip can be IPv4 or IPv6 addr correction for multi-homed mode (0.0.0.0 or :: bindaddr) can work in dual 6/4 mode with :: bindaddr gatekeeper mode isn't supported in v6 mode while (issue #18278) Reported by: may213 Patches: ipv6-ooh323.patch uploaded by may213 (license 454) Review: https://reviewboard.asterisk.org/r/1004/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/ooh323c/src/ooLogChan.c')
-rw-r--r--addons/ooh323c/src/ooLogChan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/ooh323c/src/ooLogChan.c b/addons/ooh323c/src/ooLogChan.c
index c3b5c8fee..63c8fc6f7 100644
--- a/addons/ooh323c/src/ooLogChan.c
+++ b/addons/ooh323c/src/ooLogChan.c
@@ -82,7 +82,7 @@ OOLogicalChannel* ooAddNewLogicalChannel(OOH323CallData *call, int channelNo,
/* If user application has not specified a specific ip and is using
multihomed mode, substitute appropriate ip.
*/
- if(!strcmp(pMediaInfo->lMediaIP, "0.0.0.0"))
+ if(!strcmp(pMediaInfo->lMediaIP, "0.0.0.0") || !strcmp(pMediaInfo->lMediaIP, "::"))
strcpy(pNewChannel->localIP, call->localIP);
else
strcpy(pNewChannel->localIP, pMediaInfo->lMediaIP);