diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-01 14:08:25 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-01 14:08:25 +0300 |
| commit | 27dbf81a7375ccb352a35261c6c9ee3aa3fcb98f (patch) | |
| tree | 0c377d26302532372422c852c80583191bc63d0e /lib/frrscript.h | |
| parent | fbedeb958fae765fe719a76d0ea53792512f9044 (diff) | |
lib: Do not use time_t as a special Lua encoder/decoder
This is purely an integer (long long/long), and causes issues for 32-bit systems.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/frrscript.h')
| -rw-r--r-- | lib/frrscript.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/frrscript.h b/lib/frrscript.h index 7ba4f0cbdb..df49b5718c 100644 --- a/lib/frrscript.h +++ b/lib/frrscript.h @@ -198,7 +198,6 @@ struct interface * : lua_pushinterface, \ struct in_addr * : lua_pushinaddr, \ struct in6_addr * : lua_pushin6addr, \ union sockunion * : lua_pushsockunion, \ -time_t * : lua_pushtimet, \ char * : lua_pushstring_wrapper, \ struct attr * : lua_pushattr, \ struct peer * : lua_pushpeer, \ @@ -219,7 +218,6 @@ struct interface * : lua_decode_interface, \ struct in_addr * : lua_decode_inaddr, \ struct in6_addr * : lua_decode_in6addr, \ union sockunion * : lua_decode_sockunion, \ -time_t * : lua_decode_timet, \ char * : lua_decode_stringp, \ struct attr * : lua_decode_attr, \ struct peer * : lua_decode_noop, \ |
