[sr-dev] git:master: kamctl: fix 'kamctl cr addcarrier' command

Ovidiu Sas osas at voipembedded.com
Wed Mar 31 16:33:36 CEST 2010


Module: sip-router
Branch: master
Commit: 7b8b6f647365655afa210f5e95baef06398ef612
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7b8b6f647365655afa210f5e95baef06398ef612

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.

---

 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