Skip to content
Snippets Groups Projects
Commit 2fac359d authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 96525 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96525 | tilghman | 2008-01-04 13:27:25 -0600 (Fri, 04 Jan 2008) | 4 lines

If you change the bindaddr in sip.conf to a non-bound address and reload, sip goes kablooie.
Reported and patched by: one47
(Closes issue #11535)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f4fba894
No related branches found
No related tags found
No related merge requests found
......@@ -17054,6 +17054,9 @@ static void *do_monitor(void *data)
sipsock_read_id = ast_io_change(io, sipsock_read_id, sipsock, NULL, 0, NULL);
else
sipsock_read_id = ast_io_add(io, sipsock, sipsock_read, AST_IO_IN, NULL);
} else if (sipsock_read_id) {
ast_io_remove(io, sipsock_read_id);
sipsock_read_id = NULL;
}
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment