From c9123f7750ee8527469cf082552874e92eeebfe6 Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 26 Jul 2022 16:36:33 +0000 Subject: [PATCH] Missing indirection. This version compiles. --- usr.sbin/bgpd/kroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 3293950d8ae..e808c7d89b9 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.280 2022/07/26 16:32:29 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.281 2022/07/26 16:36:33 claudio Exp $ */ /* * Copyright (c) 2022 Claudio Jeker @@ -2049,7 +2049,7 @@ kif_remove(struct kif_node *kif) { struct ktable *kt; - kif->flags &= ~IFF_UP; + kif->k.flags &= ~IFF_UP; /* * TODO, remove all kroutes using this interface, -- 2.20.1