vty: Replace 'enum node_type' by 'int' for last_node

In this case the last_node variable may hold values that are not
in enum node_type, so int is used instead.
1 file changed