diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-27 22:28:16 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-04-27 22:28:16 +0000 |
commit | 1f58727ce1155c2f8e8c6914e22392fdcfc14f89 (patch) | |
tree | 6e83815c6955ac6044bac2c566fc2351f3825eea /channels | |
parent | d4fdec1c79446ae6e200048dd9946a8eba38709e (diff) |
Be more explicit about field naming in a test.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@259587 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/sip/dialplan_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sip/dialplan_functions.c b/channels/sip/dialplan_functions.c index 297f9f5da..509eacf31 100644 --- a/channels/sip/dialplan_functions.c +++ b/channels/sip/dialplan_functions.c @@ -262,7 +262,7 @@ AST_TEST_DEFINE(test_sip_rtpqos_1) .write = test_sip_rtpqos_1_write, .get_stat = test_sip_rtpqos_1_get_stat, }; - struct sockaddr_in sin = { .sin_port = 31337, .sin_addr = { 4 * 16777216 + 3 * 65536 + 2 * 256 + 1 } }; + struct sockaddr_in sin = { .sin_port = 31337, .sin_addr = { .s_addr = 4 * 16777216 + 3 * 65536 + 2 * 256 + 1 } }; struct ast_rtp_instance_stats mine = { 0, }; struct sip_pvt *p = NULL; struct ast_channel *chan = NULL; |