summaryrefslogtreecommitdiff
path: root/lib/frrscript.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-11-29 15:14:46 +0200
committerGitHub <noreply@github.com>2023-11-29 15:14:46 +0200
commit36547f400e332ecd6ac64b566b48a8701c3aa2f6 (patch)
treec15c763cf85196616fa11cca87bfd9e03220deed /lib/frrscript.c
parente6e846de238255f9995b71c24d287b0f26c50c24 (diff)
parentfca8ee275c1f51e19aa64a4cc5175cbc88bf8d41 (diff)
Merge pull request #9012 from dlqs/lua-poly
Refactor decoder for Lua hook system
Diffstat (limited to 'lib/frrscript.c')
-rw-r--r--lib/frrscript.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/frrscript.c b/lib/frrscript.c
index 50410fb58b..acdd1df67b 100644
--- a/lib/frrscript.c
+++ b/lib/frrscript.c
@@ -25,6 +25,8 @@ DEFINE_MTYPE_STATIC(LIB, SCRIPT, "Scripting");
struct frrscript_names_head frrscript_names_hash;
+void _lua_decode_noop(lua_State *L, ...) {}
+
/*
* Wrapper for frrscript_names_add
* Use this to register hook calls when a daemon starts up