From 90267a961c8254b5a01daa1bc8e90fd4c470d7ed Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 23 Oct 2013 11:24:17 +0200 Subject: gbproxy: Add a command to delete peers from the GBProxy This just deletes the peer entry based on NSEI and BVCI. The NS-VC are not touched. --- openbsc/src/gprs/gb_proxy_vty.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/gprs/gb_proxy_vty.c') diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c index 63546d3f9..176ea65eb 100644 --- a/openbsc/src/gprs/gb_proxy_vty.c +++ b/openbsc/src/gprs/gb_proxy_vty.c @@ -80,6 +80,8 @@ int gbproxy_vty_init(void) { install_element_ve(&show_gbproxy_cmd); + install_element(ENABLE_NODE, &delete_gb_cmd); + install_element(CONFIG_NODE, &cfg_gbproxy_cmd); install_node(&gbproxy_node, config_write_gbproxy); bsc_install_default(GBPROXY_NODE); -- cgit v1.2.3