mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
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.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user