[asterisk-commits] pabelanger: branch pabelanger/issue18183 r293157 - /team/pabelanger/issue1818...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 27 21:22:36 CDT 2010


Author: pabelanger
Date: Wed Oct 27 21:22:32 2010
New Revision: 293157

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=293157
Log:
Set sin_family = AF_INET

Modified:
    team/pabelanger/issue18183/channels/chan_iax2.c

Modified: team/pabelanger/issue18183/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/issue18183/channels/chan_iax2.c?view=diff&rev=293157&r1=293156&r2=293157
==============================================================================
--- team/pabelanger/issue18183/channels/chan_iax2.c (original)
+++ team/pabelanger/issue18183/channels/chan_iax2.c Wed Oct 27 21:22:32 2010
@@ -11192,6 +11192,7 @@
 						ast_test_flag(&iaxs[fr->callno]->state, IAX_STATE_AUTHENTICATED)) {
 					if (f.subclass.integer == IAX_COMMAND_REGREL) {
 						memset(&sin, 0, sizeof(sin));
+						sin->sin_family = AF_INET;
 					}
 					if (update_registry(&sin, fr->callno, ies.devicetype, fd, ies.refresh)) {
 						ast_log(LOG_WARNING, "Registry error\n");




More information about the asterisk-commits mailing list