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.c | |
| 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.c')
| -rw-r--r-- | lib/frrscript.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/frrscript.c b/lib/frrscript.c index 1b99c7e2c6..50410fb58b 100644 --- a/lib/frrscript.c +++ b/lib/frrscript.c @@ -133,9 +133,6 @@ struct frrscript_codec frrscript_codecs_lib[] = { {.typename = "sockunion", .encoder = (encoder_func)lua_pushsockunion, .decoder = lua_tosockunion}, - {.typename = "time_t", - .encoder = (encoder_func)lua_pushtimet, - .decoder = lua_totimet}, {}}; /* Type codecs */ |
