]> 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)
committerRoy Marples <roy@marples.name>
Sat, 13 Nov 2021 14:09:16 +0000 (14:09 +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 e5ffe500655fb795fc9fd1a3c1e1242d609d92c8..f04c1eef9979281ca678bda392015725df4d2977 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",