]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add epair(4) to the ignored interface types list (#73)
authorBen Woods <github@ben.woods.am>
Sat, 13 Nov 2021 13:53:58 +0000 (21:53 +0800)
committerGitHub <noreply@github.com>
Sat, 13 Nov 2021 13:53:58 +0000 (13:53 +0000)
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.

src/if-bsd.c

index 17802b383b94d437b2bd6a0a6885d48d8176ac3b..67b65785695415afc19ffa83a32e520911fd0339 100644 (file)
  * just won't work without explicit configuration. */
 static const char * const ifnames_ignore[] = {
        "bridge",
+       "epair",        /* Virtual patch cable */
        "fwe",          /* Firewire */
        "fwip",         /* Firewire */
        "tap",