summaryrefslogtreecommitdiff
path: root/lib/frrlua.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frrlua.c')
-rw-r--r--lib/frrlua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/frrlua.c b/lib/frrlua.c
index c8a04fb3dc..dd468a3def 100644
--- a/lib/frrlua.c
+++ b/lib/frrlua.c
@@ -150,6 +150,11 @@ void lua_pushtimet(lua_State *L, const time_t *time)
lua_pushinteger(L, *time);
}
+void lua_pushintegerp(lua_State *L, const int *num)
+{
+ lua_pushinteger(L, *num);
+}
+
/*
* Logging.
*