From: Alexander Zubkov Date: Tue, 23 Sep 2025 14:27:08 +0000 (+0200) Subject: Nest: Fix legacy formatting of community attributes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47f580202a6744ff27f228d8fe66f213cf534902;p=thirdparty%2Fbird.git Nest: Fix legacy formatting of community attributes Fix an issue that when a socket is configured with 'v2 attributes' some attributes weren not shown in v2 format. --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 3aaca0a46..b28744af3 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -1341,13 +1341,13 @@ ea_show(struct cli *c, const eattr *e) as_path_format(ad, pos, end - pos); break; case T_CLIST: - ea_show_int_set(c, cls->name, ad, ISF_COMMUNITY_LIST, buf); + ea_show_int_set(c, name, ad, ISF_COMMUNITY_LIST, buf); return; case T_ECLIST: - ea_show_ec_set(c, cls->name, ad, buf); + ea_show_ec_set(c, name, ad, buf); return; case T_LCLIST: - ea_show_lc_set(c, cls->name, ad, buf); + ea_show_lc_set(c, name, ad, buf); return; case T_STRING: bsnprintf(pos, end - pos, "%s", (const char *) ad->data);