aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vty/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vty/command.c b/src/vty/command.c
index 2a8942db..d7b8026f 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -1092,6 +1092,7 @@ static int config_write_host(struct vty *vty)
static vector cmd_node_vector(vector v, enum node_type ntype)
{
struct cmd_node *cnode = vector_slot(v, ntype);
+ OSMO_ASSERT(cnode != NULL);
return cnode->cmd_vector;
}