mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 17:15:14 +00:00
zebra: output optional param "func-bits" for SRv6
Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp>
This commit is contained in:
parent
5a22d2ad33
commit
fbd01eaa41
@ -354,8 +354,12 @@ static int zebra_sr_config(struct vty *vty)
|
|||||||
inet_ntop(AF_INET6, &locator->prefix.prefix,
|
inet_ntop(AF_INET6, &locator->prefix.prefix,
|
||||||
str, sizeof(str));
|
str, sizeof(str));
|
||||||
vty_out(vty, " locator %s\n", locator->name);
|
vty_out(vty, " locator %s\n", locator->name);
|
||||||
vty_out(vty, " prefix %s/%u\n", str,
|
vty_out(vty, " prefix %s/%u", str,
|
||||||
locator->prefix.prefixlen);
|
locator->prefix.prefixlen);
|
||||||
|
if (locator->function_bits_length)
|
||||||
|
vty_out(vty, " func-bits %u",
|
||||||
|
locator->function_bits_length);
|
||||||
|
vty_out(vty, "\n");
|
||||||
vty_out(vty, " exit\n");
|
vty_out(vty, " exit\n");
|
||||||
vty_out(vty, " !\n");
|
vty_out(vty, " !\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user