vty: Move the assumption of the config nodes into a function
authorHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 25 Aug 2010 05:23:53 +0000 (13:23 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 26 Aug 2010 07:00:52 +0000 (15:00 +0800)
commit50cfb780d229919fbe6b49fde627becdd3cd3d97
tree15aaa7acc1f881222d3e63dc82599d8e38cdbd66
parent5ea4498c28b456ade17a92bc9aab85de9502ba00
vty: Move the assumption of the config nodes into a function

Move the assumption that something is a child of the CONFIG_NODE
into a new function. The next step will be to use something else
for that.
src/vty/command.c