From: Ben Woods Date: Sat, 13 Nov 2021 13:53:58 +0000 (+0800) Subject: Add epair(4) to the ignored interface types list (#73) X-Git-Tag: v10.0.0~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c932b296c7556a5ed658ef1b2b29d845b6b9b5d1;p=thirdparty%2Fdhcpcd.git Add epair(4) to the ignored interface types list (#73) The FreeBSD epair(4) interface type can be thought of as a virtual patch cable. The epair interfaces come in pairs, with network traffic being passed between the 2 pairs. The basic intent is to provide connectivity between two virtual network stack instances. This interface type does not typically require an IP address, as it is passing traffic between other virtual networks/interfaces which obtain their own IP address. Therefore, add this interface type to the list that will be ignored by dhcpcd. --- diff --git a/src/if-bsd.c b/src/if-bsd.c index 17802b38..67b65785 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -104,6 +104,7 @@ * just won't work without explicit configuration. */ static const char * const ifnames_ignore[] = { "bridge", + "epair", /* Virtual patch cable */ "fwe", /* Firewire */ "fwip", /* Firewire */ "tap",