diff --git a/src/pcu_vty.c b/src/pcu_vty.c index 94f89b5..0761301 100644 --- a/src/pcu_vty.c +++ b/src/pcu_vty.c @@ -14,7 +14,7 @@ #include "pcu_vty_functions.h" -enum node_type pcu_vty_go_parent(struct vty *vty) +int pcu_vty_go_parent(struct vty *vty) { switch (vty->node) { #if 0 diff --git a/src/pcu_vty.h b/src/pcu_vty.h index 17b1d3c..c00b882 100644 --- a/src/pcu_vty.h +++ b/src/pcu_vty.h @@ -8,7 +8,7 @@ enum pcu_vty_node { PCU_NODE = _LAST_OSMOVTY_NODE + 1, }; -enum node_type pcu_vty_go_parent(struct vty *vty); +int pcu_vty_go_parent(struct vty *vty); int pcu_vty_is_config_node(struct vty *vty, int node); int pcu_vty_init(const struct log_info *cat);