[svn-commits] russell: trunk r58907 - in /trunk: ./ channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Mar 14 12:19:00 MST 2007


Author: russell
Date: Wed Mar 14 14:19:00 2007
New Revision: 58907

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58907
Log:
Merged revisions 58906 via svnmerge from 
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)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

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

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=58907&r1=58906&r2=58907
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Mar 14 14:19:00 2007
@@ -17031,7 +17031,7 @@
 			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);



More information about the svn-commits mailing list