From 21ecfefe647461701504aeeccc9f795078094436 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 22 Jul 2008 22:11:01 +0000 Subject: fix up namespace pollution for dahdi_chan_mode enum correct registration of AMI actions in chan_dahdi; in zap-only mode, only register the Zap flavors of the actions (and use Zap prefixes for headers and acks), but in dahdi+zap mode, register both Zap and DAHDI flavors of actions git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@132787 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_dahdiras.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_dahdiras.c') diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c index 2a9875ed3..1012a5fbe 100644 --- a/apps/app_dahdiras.c +++ b/apps/app_dahdiras.c @@ -260,7 +260,7 @@ static int unload_module(void) { int res = 0; - if (dahdi_chan_mode == DAHDI_PLUS_ZAP) { + if (dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) { res |= ast_unregister_application(dahdi_app); } @@ -275,7 +275,7 @@ static int load_module(void) { int res = 0; - if (dahdi_chan_mode == DAHDI_PLUS_ZAP) { + if (dahdi_chan_mode == CHAN_DAHDI_PLUS_ZAP_MODE) { res |= ast_register_application(dahdi_app, exec, dahdi_synopsis, dahdi_descrip); } -- cgit v1.2.3