summaryrefslogtreecommitdiffstats
path: root/src/gb/common_vty.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-25 00:35:06 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-09-27 14:04:08 +0000
commit607275c30be14266c4f1724b29a7cddea2062802 (patch)
tree44f4b7bb2dbcff505b91c49be9a790b95398cd0f /src/gb/common_vty.h
parent6f4176785f4082ce0b3a80f860bcc0d40e9f49e9 (diff)
gb: drop special vty exit commands, use vty_install_default()
L_NS_NODE and L_BSSGP_NODE had specialized 'exit' and 'end' vty commands, but all they do is return to the CONFIG and ENABLE_NODEs like the default 'exit' and 'end' commands. Drop them and use the default 'exit' and 'end' cmds. Examining BSSGP and NS node behavior in osmo-sgsn exhibited identical list and exit/end behavior before and after this patch. Prepares for an upcoming commit incorporating vty_install_default() into install_node(), see I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b: this patch changes to the default commands, the upcoming change implies them. Change-Id: I5b0de066b4249d482c22620d5b1bcb03f381293c
Diffstat (limited to 'src/gb/common_vty.h')
-rw-r--r--src/gb/common_vty.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gb/common_vty.h b/src/gb/common_vty.h
index a0674a7f..801d2dab 100644
--- a/src/gb/common_vty.h
+++ b/src/gb/common_vty.h
@@ -5,6 +5,3 @@
extern int DNS, DBSSGP;
-extern struct cmd_element libgb_exit_cmd;
-extern struct cmd_element libgb_end_cmd;
-