diff --git a/lib/frrlua.c b/lib/frrlua.c index f8670a4b41..3c270b2340 100644 --- a/lib/frrlua.c +++ b/lib/frrlua.c @@ -62,8 +62,6 @@ void lua_pushprefix(lua_State *L, const struct prefix *prefix) { char buffer[PREFIX_STRLEN]; - zlog_debug("frrlua: pushing prefix table"); - lua_newtable(L); lua_pushstring(L, prefix2str(prefix, buffer, PREFIX_STRLEN)); lua_setfield(L, -2, "network"); @@ -86,8 +84,6 @@ void *lua_toprefix(lua_State *L, int idx) void lua_pushinterface(lua_State *L, const struct interface *ifp) { - zlog_debug("frrlua: pushing interface table"); - lua_newtable(L); lua_pushstring(L, ifp->name); lua_setfield(L, -2, "name"); @@ -156,8 +152,6 @@ void *lua_tointerface(lua_State *L, int idx) void lua_pushinaddr(lua_State *L, const struct in_addr *addr) { - zlog_debug("frrlua: pushing inaddr table"); - char buf[INET_ADDRSTRLEN]; inet_ntop(AF_INET, addr, buf, sizeof(buf)); @@ -182,8 +176,6 @@ void *lua_toinaddr(lua_State *L, int idx) void lua_pushin6addr(lua_State *L, const struct in6_addr *addr) { - zlog_debug("frrlua: pushing in6addr table"); - char buf[INET6_ADDRSTRLEN]; inet_ntop(AF_INET6, addr, buf, sizeof(buf)); @@ -207,8 +199,6 @@ void *lua_toin6addr(lua_State *L, int idx) void lua_pushsockunion(lua_State *L, const union sockunion *su) { - zlog_debug("frrlua: pushing sockunion table"); - char buf[SU_ADDRSTRLEN]; sockunion2str(su, buf, sizeof(buf)); diff --git a/lib/frrscript.c b/lib/frrscript.c index 7d28379194..a3de474a4e 100644 --- a/lib/frrscript.c +++ b/lib/frrscript.c @@ -116,9 +116,6 @@ int frrscript_call(struct frrscript *fs, struct frrscript_env *env) c.typename = env[i].typename; arg = env[i].val; - zlog_debug("Script argument | Bind name: %s | Type: %s", - bindname, c.typename); - struct frrscript_codec *codec = hash_lookup(codec_hash, &c); assert(codec && "No encoder for type"); codec->encoder(fs->L, arg); @@ -188,8 +185,6 @@ void frrscript_register_type_codec(struct frrscript_codec *codec) { struct frrscript_codec c = *codec; - zlog_debug("Registering codec for '%s'", codec->typename); - if (hash_lookup(codec_hash, &c)) { zlog_backtrace(LOG_ERR); assert(!"Type codec double-registered.");