]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 263069 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Thu, 13 May 2010 22:13:13 +0000 (22:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 13 May 2010 22:13:13 +0000 (22:13 +0000)
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
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@263070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 0be480f477c64443b213f29db6323e63f90e9d8e..ba53664822788dff122c5366ae39ccee192c725c 100644 (file)
@@ -15594,7 +15594,7 @@ static char *handle_ss7_debug(struct ast_cli_entry *e, int cmd, struct ast_cli_a
                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 {