mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 20:04:11 +00:00
zebra: Use vrf name instead of vrf-id for router-id definition
Changed display/saving of global router-id to use the vrf name instead of the vrf_id, since the vrf_id would get lost on quagga restart or reboot. Ticket: CM-10106 Signed-off-by: Don Slice Reviewed-by: Donald Sharp
This commit is contained in:
parent
4a14188257
commit
1d75f88306
@ -206,9 +206,9 @@ router_id_write (struct vty *vty)
|
||||
inet_ntoa (zvrf->rid_user_assigned.u.prefix4),
|
||||
VTY_NEWLINE);
|
||||
else
|
||||
vty_out (vty, "router-id %s vrf %u%s",
|
||||
vty_out (vty, "router-id %s vrf %s%s",
|
||||
inet_ntoa (zvrf->rid_user_assigned.u.prefix4),
|
||||
zvrf->vrf_id,
|
||||
zvrf->name,
|
||||
VTY_NEWLINE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user