LP#1888406: Teach srfsh how to use the actual router name user/jboyer/lp1888406_signoff
authorMike Rylander <mrylander@gmail.com>
Tue, 21 Jul 2020 14:26:20 +0000 (10:26 -0400)
committerJason Boyer <boyer.jason@gmail.com>
Fri, 22 Jan 2021 00:37:22 +0000 (19:37 -0500)
commit2b65c99a9aa5db723cb2a0adc442ff7694485fe5
treeae5ffda63d600528abc18c347a111fe220f9e906
parentb459fffcfc5c15835c6565f926bcecbdf54d8fa7
LP#1888406: Teach srfsh how to use the actual router name

OpenSRF routers have a default XMPP user name of "router", but that
can be changed. Unfortunately, srfsh doesn't know how to use the router
name from the config when sending router-specific commands such as
introspection calls. This commit allows that.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Boyer <boyer.jason@gmail.com>
src/srfsh/srfsh.c