]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - nest/rt-attr.c
Filter: Add support for string route attribute
[thirdparty/bird.git] / nest / rt-attr.c
index af864bdfa4e3db78fbbd605b2bc4532dbe001cb0..c8ef8e081c69c27802c34a160a275515b67cd936 100644 (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);
        }