In ipc-ssltunnel, global variables are used to store the topics and
hooks that are passed to ipc-tap and ipc-inject. These variables are
declared in main(), however not all of them are initialized. While
this is not a bug, the function should either initialize all of the
arrays or none at all.
This commit modifies ipc-ssltunnel to initialize all of the arrays
in main().
local remote
input_topics=()
- output_topics=()
+ output_topics=()
+ tap_hooks=()
+ inject_hooks=()
opt_add_arg "i" "input-topic" "v" "" "Topic to relay from the remote side (may be used more than once)" \
"" _array_add