common: Add the default case, e.g. needed for the logging code

This commit is contained in:
Holger Hans Peter Freyther 2011-05-31 17:41:51 +02:00
parent 530ecc0879
commit 47169baa6e
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ enum node_type osmopcap_go_parent(struct vty *vty)
vty->index = NULL;
break;
default:
LOGP(DVTY, LOGL_ERROR, "Unhandled node %d\n", vty->node);
vty->node = CONFIG_NODE;
break;
}