[sr-dev] git:kamailio_3.0: kamctl: fix 'kamctl cr addcarrier' command
Ovidiu Sas
osas at voipembedded.com
Wed Mar 31 18:38:42 CEST 2010
Module: sip-router
Branch: kamailio_3.0
Commit: 3c4db3e110aae42f36e03e0d10792f4676063fa0
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3c4db3e110aae42f36e03e0d10792f4676063fa0
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: Wed Mar 31 10:31:05 2010 -0400
kamctl: fix 'kamctl cr addcarrier' command
- 'COMMENT' field and 'MASK' field were mixed up causing
'kamctl cr addcarrier' to fail.
(cherry picked from commit 7b8b6f647365655afa210f5e95baef06398ef612)
---
utils/kamctl/kamctl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/kamctl/kamctl b/utils/kamctl/kamctl
index dbcf227..faff5eb 100755
--- a/utils/kamctl/kamctl
+++ b/utils/kamctl/kamctl
@@ -1352,11 +1352,11 @@ cr() {
if [ $# -gt 7 ] ; then
REWRITE_SUFFIX=$8
if [ $# -gt 8 ] ; then
- COMMENT=$9
+ MASK=$9
if [ $# -gt 9 ] ; then
FLAGS=${10}
if [ $# -gt 10 ] ; then
- MASK=${11}
+ COMMENT=${11}
fi
fi
fi
More information about the sr-dev
mailing list