#234 opensipsctl: line 153: usage_trusted: command not found

1.6.x
closed-fixed
tools (25)
5
2009-12-24
2009-12-23
Yar Tikhiy
No

Due to a minor bug, opensipsctl usage screen displays "usage_trusted: command not found" instead of usage for `address'. For example:

-- command 'add|passwd|rm' - manage subscribers

add <username> <password> .......... add a new subscriber (*)
passwd <username> <passwd> ......... change user's password (*)
rm <username> ...................... delete a user (*)
/usr/sbin/opensipsctl: line 153: usage_trusted: command not found

-- command 'dispatcher' - manage dispatcher

The fix is trivial:

--- opensipsctl.base.orig 2009-10-16 14:34:45.000000000 +0000
+++ opensipsctl.base 2009-12-23 07:27:53.000000000 +0000
@@ -441,7 +441,7 @@
....................... for the given grp ip mask port
EOF
}
-USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_trusted"
+USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_address"

usage_dispatcher() {
echo

Thanks!

Discussion

  • Bogdan-Andrei Iancu

    • labels: --> tools
    • milestone: --> 1.6.x
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed
     
  • Bogdan-Andrei Iancu

    Hi Yar,

    Thanks again - I included your fix on SVN and latest tarballs.

    Regards,
    Bogdan

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks