Review at https://gerrit.osmocom.org/3981
vty: fix: missing default cmds at hlr node
Without this, it is impossible to exit the 'hlr' node.
Change-Id: I53e572194af39a431c54f83cd07e4c41c6fdf7f8
---
M src/libmsc/vty_interface_layer3.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/81/3981/1
diff --git a/src/libmsc/vty_interface_layer3.c
b/src/libmsc/vty_interface_layer3.c
index 484e9d5..b6e3ded 100644
--- a/src/libmsc/vty_interface_layer3.c
+++ b/src/libmsc/vty_interface_layer3.c
@@ -971,6 +971,7 @@
install_element(CONFIG_NODE, &cfg_hlr_cmd);
install_node(&hlr_node, config_write_hlr);
+ vty_install_default(HLR_NODE);
install_element(HLR_NODE, &cfg_hlr_remote_ip_cmd);
install_element(HLR_NODE, &cfg_hlr_remote_port_cmd);
--
To view, visit https://gerrit.osmocom.org/3981
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53e572194af39a431c54f83cd07e4c41c6fdf7f8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>