aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-13 22:01:36 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-13 22:01:36 +0000
commit8c257e0176f54e0db175a43a44e3208a711c2449 (patch)
treee2e504f058e5c2bfcb42068b873f73bd9c8db5da /channels/chan_dahdi.c
parent93895f2c01b8430caec3d73f0210cf654511592f (diff)
Fix inverted logic in cli command: ss7 set debug on/off
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@263069 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 51e64ee35..b072d86ce 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -15914,7 +15914,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 {