[asterisk-commits] rmudgett: trunk r263069 - /trunk/channels/chan_dahdi.c

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


Author: rmudgett
Date: Thu May 13 17:01:36 2010
New Revision: 263069

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263069
Log:
Fix inverted logic in cli command: ss7 set debug on/off

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=263069&r1=263068&r2=263069
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Thu May 13 17:01:36 2010
@@ -15914,7 +15914,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