On Fri, Sep 06, 2013 at 04:51:59PM +0200, Jacob Erlbeck wrote:
+ enum node_type last_node = CONFIG_NODE;
+
+ if (vty->node > ENABLE_NODE) {
I moved the enum in here but that doesn't really change anything.
Maybe we should have a <= ENABLE_NODE and exit early? But that is
not important.