diff options
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/vty.h | 2 | ||||
-rw-r--r-- | src/host/layer23/src/mobile/vty_interface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/vty.h b/src/host/layer23/include/osmocom/bb/mobile/vty.h index 1f1341bc..3bec1139 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/vty.h +++ b/src/host/layer23/include/osmocom/bb/mobile/vty.h @@ -12,7 +12,7 @@ enum ms_vty_node { SUPPORT_NODE, }; -enum node_type ms_vty_go_parent(struct vty *vty); +int ms_vty_go_parent(struct vty *vty); int ms_vty_init(void); extern void vty_notify(struct osmocom_ms *ms, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c index b3777dc9..0f271941 100644 --- a/src/host/layer23/src/mobile/vty_interface.c +++ b/src/host/layer23/src/mobile/vty_interface.c @@ -2757,7 +2757,7 @@ DEFUN(cfg_shutdown_force, cfg_ms_shutdown_force_cmd, "shutdown force", return CMD_SUCCESS; } -enum node_type ms_vty_go_parent(struct vty *vty) +int ms_vty_go_parent(struct vty *vty) { switch (vty->node) { case MS_NODE: |