From 016543e08493f6da85dcd8d4b8b171877cc44256 Mon Sep 17 00:00:00 2001 From: claudio Date: Sat, 23 Jul 2022 08:44:06 +0000 Subject: [PATCH] There is no need to set kf.flags to F_KERNEL here. From a previous diff that was reverted because of a different issue. was OK tb@ --- usr.sbin/bgpd/rde.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 6a7cfdc95dd..ea0a746c0f2 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.557 2022/07/22 17:26:58 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.558 2022/07/23 08:44:06 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -4256,7 +4256,6 @@ network_dump_upcall(struct rib_entry *re, void *ptr) memcpy(&kf.nexthop, &prefix_nexthop(p)->true_nexthop, sizeof(kf.nexthop)); kf.prefixlen = p->pt->prefixlen; - kf.flags = F_KERNEL; if ((asp->flags & F_ANN_DYNAMIC) == 0) kf.flags = F_STATIC; if (imsg_compose(ibuf_se_ctl, IMSG_CTL_SHOW_NETWORK, 0, -- 2.20.1