From de634ddda865abe1769cf2314f605bed542723e3 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 30 May 2024 08:29:30 +0000 Subject: [PATCH] Fix copy-paste error in last commit. Fixes lladdr and l3vpn regress. Noticed by anton@ --- usr.sbin/bgpd/rde_update.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c index 2c81bbe216c..e9c51b7a7eb 100644 --- a/usr.sbin/bgpd/rde_update.c +++ b/usr.sbin/bgpd/rde_update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_update.c,v 1.167 2024/05/29 10:41:12 claudio Exp $ */ +/* $OpenBSD: rde_update.c,v 1.168 2024/05/30 08:29:30 claudio Exp $ */ /* * Copyright (c) 2004 Claudio Jeker @@ -464,7 +464,7 @@ up_get_nexthop(struct rde_peer *peer, struct filterstate *state, uint8_t aid) break; case AID_INET6: case AID_VPN_IPv6: - if (peer->local_v4_addr.aid == AID_INET6) + if (peer->local_v6_addr.aid == AID_INET6) peer_local = &peer->local_v6_addr; break; case AID_FLOWSPECv4: -- 2.20.1