mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
- Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" and "tlsbindaddr".
Note: I don't think we can start properly without UDP port open, that needs to be tested. - Removing "bindport" from configuration example, not needed to mention this any more I suggest we deprecate "bindaddr" and "bindport" in trunk (for 1.6.1) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -21147,7 +21147,7 @@ static int reload_config(enum channelreloadreason reason)
|
||||
if (ast_parse_arg(v->value, PARSE_INADDR, &stunaddr))
|
||||
ast_log(LOG_WARNING, "Invalid STUN server address: %s\n", v->value);
|
||||
externexpire = time(NULL);
|
||||
} else if (!strcasecmp(v->name, "bindaddr")) {
|
||||
} else if (!strcasecmp(v->name, "bindaddr") || !strcasecmp(v->name, "udpbindaddr")) {
|
||||
if (ast_parse_arg(v->value, PARSE_INADDR, &bindaddr))
|
||||
ast_log(LOG_WARNING, "Invalid address: %s\n", v->value);
|
||||
} else if (!strcasecmp(v->name, "localnet")) {
|
||||
|
Reference in New Issue
Block a user