From: Ondrej Zajicek Date: Wed, 27 Mar 2024 22:26:25 +0000 (+0100) Subject: Nest: Improve printing of hostentries with MPLS labels X-Git-Tag: v3.0.0~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=468f1d6547437e0640cb84f7ac144c32574cc020;p=thirdparty%2Fbird.git Nest: Improve printing of hostentries with MPLS labels MPLS labels in hostentry should be printed with 'mpls' keyword instead of 'labels' to be consistent with the rest of the 'show route' output. --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 0a74cd3de..e29ded29f 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -1384,7 +1384,7 @@ ea_show_hostentry(const struct adata *ad, byte *buf, uint size) if (!lc) return; - s = bsnprintf((buf += s), (size -= s), " labels"); + s = bsnprintf((buf += s), (size -= s), " mpls"); for (uint i=0; i < lc; i++) s = bsnprintf((buf += s), (size -= s), " %u", had->labels[i]); }