Fix trivial typo (bug #2253)
authorMark Spencer <markster@digium.com>
Mon, 16 Aug 2004 01:57:10 +0000 (01:57 +0000)
committerMark Spencer <markster@digium.com>
Mon, 16 Aug 2004 01:57:10 +0000 (01:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 4c51915..4f1ce01 100755 (executable)
@@ -7207,7 +7207,7 @@ int load_module(void)
        srand(time(NULL));
        
        sin.sin_family = AF_INET;
-       sin.sin_port = ntohs(IAX_DEFAULT_PORTNO);
+       sin.sin_port = htons(IAX_DEFAULT_PORTNO);
        sin.sin_addr.s_addr = INADDR_ANY;
 
 #ifdef IAX_TRUNKING