https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58906 | russell | 2007-03-14 14:18:08 -0500 (Wed, 14 Mar 2007) | 4 lines
Some people like to put "limitonpeer" instead of "limitonpeers" in their
configuration. While we're at it, support "limitonpeerz" and
"limitonpeerssssss". (inspired by issue #9172)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58907
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
compactheaders = ast_true(v->value);
} else if (!strcasecmp(v->name, "notifymimetype")) {
ast_copy_string(default_notifymime, v->value, sizeof(default_notifymime));
- } else if (!strcasecmp(v->name, "limitonpeers")) {
+ } else if (!strncasecmp(v->name, "limitonpeer", 11)) {
global_limitonpeers = ast_true(v->value);
} else if (!strcasecmp(v->name, "directrtpsetup")) {
global_directrtpsetup = ast_true(v->value);