summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/common.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/common.c b/lua/common.c
index 9f617775..e7368771 100644
--- a/lua/common.c
+++ b/lua/common.c
@@ -282,6 +282,16 @@ static int luaB_route_ea_set_attr_data(lua_State *L) {
luaL_error(L, "fatal: bird internal state not found, type %d", lua_type(L, -1));
struct rte *e = lua_touserdata(L, -1);
+
+ log(L_INFO "rte flags %d", e->flags);
+ if (e->attrs) {
+ log(L_INFO "rta flags %d", e->attrs->aflags);
+ if (e->attrs->eattrs) {
+ log(L_INFO "eattr flags %d", e->attrs->eattrs->flags);
+ }
+ }
+ log(L_WARN "******************************");
+
uint id = lua_tointeger(L, 2);
uint flags = lua_tointeger(L, 3);
uint type = lua_tointeger(L, 4);