From 9a58347058de119d8fb16fe4b1957031059669e9 Mon Sep 17 00:00:00 2001 From: gerhard Date: Fri, 14 Jul 2023 07:09:00 +0000 Subject: [PATCH] Do not ignore the AF_LINK entries of carp(4) interfaces. OK kn@ --- usr.sbin/dhcrelay6/dispatch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/dhcrelay6/dispatch.c b/usr.sbin/dhcrelay6/dispatch.c index 06aba339e30..0b9ea235308 100644 --- a/usr.sbin/dhcrelay6/dispatch.c +++ b/usr.sbin/dhcrelay6/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.2 2021/01/17 13:41:24 claudio Exp $ */ +/* $OpenBSD: dispatch.c,v 1.3 2023/07/14 07:09:00 gerhard Exp $ */ /* * Copyright 2004 Henning Brauer @@ -168,7 +168,8 @@ setup_iflist(void) /* Skip non ethernet interfaces. */ if (ifi->ifi_type != IFT_ETHER && - ifi->ifi_type != IFT_ENC) { + ifi->ifi_type != IFT_ENC && + ifi->ifi_type != IFT_CARP) { TAILQ_REMOVE(&intflist, intf, entry); free(intf); continue; -- 2.20.1