The hostname is optional, it is usually passed on BGP Open, but that doesn't have to be. Even though we always use the ip and not the hostname, this can make parsing fail.
See: https://github.com/FRRouting/frr/blob/b8316e31cb8b7caeed43ce363b0616e15a2acf15/bgpd/bgp_vty.c#L14674 Signed-off-by: Gabriel Goller <[email protected]> --- proxmox-frr/src/de/evpn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-frr/src/de/evpn.rs b/proxmox-frr/src/de/evpn.rs index 942aecf367ee..ea67c7cc9497 100644 --- a/proxmox-frr/src/de/evpn.rs +++ b/proxmox-frr/src/de/evpn.rs @@ -98,7 +98,7 @@ pub struct Nexthop { /// IP of the nexthop pub ip: IpAddr, /// Hostname of the nexthop - pub hostname: String, + pub hostname: Option<String>, /// Afi of the ip pub afi: Option<Protocol>, /// Used -- 2.47.3
