all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH ve-rs] fix #8008: frr: make l2 route nexthop hostname optional
@ 2026-09-04  9:17 Gabriel Goller
  0 siblings, 0 replies; only message in thread
From: Gabriel Goller @ 2026-09-04  9:17 UTC (permalink / raw)
  To: pve-devel

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 <g.goller@proxmox.com>
---
 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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-04  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04  9:17 [PATCH ve-rs] fix #8008: frr: make l2 route nexthop hostname optional Gabriel Goller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal