From: kn Date: Sat, 2 Sep 2023 10:18:45 +0000 (+0000) Subject: Fix comment about skipped interfaces X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a514d4594e28eba7483096cbe8dfa64a3b82b617;p=openbsd Fix comment about skipped interfaces After r1.44 "Start on DOWN interfaces" this sentence makes no sense and just repeats the obvious conditions, so zap it. With/OK stsp --- diff --git a/usr.sbin/dhcpd/dispatch.c b/usr.sbin/dhcpd/dispatch.c index 8b8972be996..238d620f12e 100644 --- a/usr.sbin/dhcpd/dispatch.c +++ b/usr.sbin/dhcpd/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.44 2021/11/20 11:47:02 kn Exp $ */ +/* $OpenBSD: dispatch.c,v 1.45 2023/09/02 10:18:45 kn Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 @@ -112,9 +112,7 @@ discover_interfaces(int *rdomain) for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { /* * See if this is the sort of interface we want to - * deal with. Skip loopback and point-to-point - * interfaces, except don't skip down interfaces if we're - * trying to get a list of configurable interfaces. + * deal with. */ if ((ifa->ifa_flags & IFF_LOOPBACK) || (ifa->ifa_flags & IFF_POINTOPOINT) ||