[svn-commits] dvossel: trunk r232351 - in /trunk: ./ main/acl.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 2 11:00:20 CST 2009


Author: dvossel
Date: Wed Dec  2 11:00:15 2009
New Revision: 232351

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=232351
Log:
Merged revisions 232350 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232350 | dvossel | 2009-12-02 10:59:18 -0600 (Wed, 02 Dec 2009) | 6 lines
  
  ast_outaddrfor doesn't do htons() on port, looks odd in strace.
  
  (closes issue #16290)
  Reported by: wdoekes
........

Modified:
    trunk/   (props changed)
    trunk/main/acl.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/acl.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/acl.c?view=diff&rev=232351&r1=232350&r2=232351
==============================================================================
--- trunk/main/acl.c (original)
+++ trunk/main/acl.c Wed Dec  2 11:00:15 2009
@@ -482,7 +482,7 @@
 		return -1;
 	}
 	sin.sin_family = AF_INET;
-	sin.sin_port = 5060;
+	sin.sin_port = htons(5060);
 	sin.sin_addr = *them;
 	if (connect(s, (struct sockaddr *)&sin, sizeof(sin))) {
 		ast_log(LOG_WARNING, "Cannot connect\n");




More information about the svn-commits mailing list