From: gerhard Date: Fri, 14 Jul 2023 07:09:00 +0000 (+0000) Subject: Do not ignore the AF_LINK entries of carp(4) interfaces. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9a58347058de119d8fb16fe4b1957031059669e9;p=openbsd Do not ignore the AF_LINK entries of carp(4) interfaces. OK kn@ --- 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;