projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fd62e99
)
copy just the ip address over to __ourip
author
Jeremy McNamara
<jj@nufone.net>
Sat, 2 Aug 2003 05:46:32 +0000
(
05:46
+0000)
committer
Jeremy McNamara
<jj@nufone.net>
Sat, 2 Aug 2003 05:46:32 +0000
(
05:46
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1249
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_mgcp.c
patch
|
blob
|
history
diff --git
a/channels/chan_mgcp.c
b/channels/chan_mgcp.c
index
596fc5c
..
691483e
100755
(executable)
--- a/
channels/chan_mgcp.c
+++ b/
channels/chan_mgcp.c
@@
-2942,7
+2942,7
@@
int load_module()
}
if (ntohl(bindaddr.sin_addr.s_addr)) {
- memcpy(&__ourip, &bindaddr, sizeof(__ourip));
+ memcpy(&__ourip, &bindaddr.sin_addr, sizeof(__ourip));
} else {
hp = gethostbyname(ourhost);
if (!hp) {