aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-21 19:55:03 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-21 19:55:03 +0000
commit74a4536abe5f03de9a93fadaebdb6275f1251f6a (patch)
tree88f0e5610bea810c71b05a3a923afa662677563c /channels
parent2193a9971478c48c43cf48373666a4d3088a0d32 (diff)
Fix compilation errors in CLI command updates to SS7 CLI commands
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83500 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index d7b21e158..d1be5a4ce 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -11808,7 +11808,7 @@ static char *handle_ss7_block_cic(struct ast_cli_entry *e, int cmd, struct ast_c
return CLI_SUCCESS;
}
-static int handle_ss7_unblock_cic(int fd, int argc, char *argv[])
+static char *handle_ss7_unblock_cic(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
int linkset, cic;
int i, blocked = -1;
@@ -11887,7 +11887,7 @@ static char *handle_ss7_show_linkset(struct ast_cli_entry *e, int cmd, struct as
return CLI_SUCCESS;
}
if (!linksets[linkset-1].ss7) {
- ast_cli(fd, "No SS7 running on linkset %d\n", linkset);
+ ast_cli(a->fd, "No SS7 running on linkset %d\n", linkset);
return CLI_SUCCESS;
}
if (linksets[linkset-1].ss7)
@@ -11902,7 +11902,7 @@ static struct ast_cli_entry zap_ss7_cli[] = {
NEW_CLI(handle_ss7_debug, "Enables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_no_debug, "Disables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_block_cic, "Disables SS7 debugging on a linkset"),
- NEW_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset")
+ NEW_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_show_linkset, "Shows the status of a linkset"),
};
#endif /* HAVE_SS7 */