Module: sip-router
Branch: master
Commit: 7b8b6f647365655afa210f5e95baef06398ef612
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7b8b6f6…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)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.
---
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