1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Filter: Add support for string route attribute

This commit is contained in:
Ondrej Zajicek
2024-02-14 13:58:56 +01:00
parent 574d7eb241
commit 224a152c53
5 changed files with 18 additions and 2 deletions

View File

@@ -1015,6 +1015,9 @@ ea_show(struct cli *c, const eattr *e)
case EAF_TYPE_LC_SET:
ea_show_lc_set(c, ad, pos, buf, end);
return;
case EAF_TYPE_STRING:
bsnprintf(pos, end - pos, "%s", (const char *) ad->data);
break;
default:
bsprintf(pos, "<type %02x>", e->type);
}