[asterisk-commits] rmudgett: branch 1.6.2 r263070 - in /branches/1.6.2: ./ channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 13 17:13:16 CDT 2010


Author: rmudgett
Date: Thu May 13 17:13:13 2010
New Revision: 263070

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263070
Log:
Merged revisions 263069 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r263069 | rmudgett | 2010-05-13 17:01:36 -0500 (Thu, 13 May 2010) | 1 line
  
  Fix inverted logic in cli command: ss7 set debug on/off
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_dahdi.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_dahdi.c?view=diff&rev=263070&r1=263069&r2=263070
==============================================================================
--- branches/1.6.2/channels/chan_dahdi.c (original)
+++ branches/1.6.2/channels/chan_dahdi.c Thu May 13 17:13:13 2010
@@ -15594,7 +15594,7 @@
 		return CLI_SUCCESS;
 	}
 	if (linksets[span-1].ss7) {
-		if (strcasecmp(a->argv[3], "on")) {
+		if (!strcasecmp(a->argv[3], "on")) {
 			ss7_set_debug(linksets[span-1].ss7, SS7_DEBUG_MTP2 | SS7_DEBUG_MTP3 | SS7_DEBUG_ISUP);
 			ast_cli(a->fd, "Enabled debugging on linkset %d\n", span);
 		} else {




More information about the asterisk-commits mailing list