From 3cd57c262932dc3a1e6e6424360c2e3e974ea2e4 Mon Sep 17 00:00:00 2001 From: Max Rottenkolber Date: Thu, 10 Nov 2022 16:11:07 +0100 Subject: [PATCH] lib.yang.state: fixup --- src/lib/yang/state.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/yang/state.lua b/src/lib/yang/state.lua index 7846881537..51cd84298e 100644 --- a/src/lib/yang/state.lua +++ b/src/lib/yang/state.lua @@ -53,7 +53,7 @@ function state_reader_from_grammar(production, maybe_keyword) end return ret end - function visitor.table(keyword, production) + function visitor.list(keyword, production) -- TODO: Right now we basically map leaves to counters; we have -- no structured way to know what keys we might use. To make -- tables here we'd need more of a design!