Page MenuHomeFreeBSD

D53051.id164044.diff
No OneTemporary

D53051.id164044.diff

diff --git a/sbin/devd/dhclient.conf b/sbin/devd/dhclient.conf
--- a/sbin/devd/dhclient.conf
+++ b/sbin/devd/dhclient.conf
@@ -2,7 +2,8 @@
# Try to start dhclient on Ethernet-like interfaces when the link comes
# up. Only devices that are configured to support DHCP will actually
# run it. No link down rule exists because dhclient automatically exits
-# when the link goes down.
+# when the link goes down. bridge interfaces do not have defined media
+# types to match against, so special case on subsystem match instead.
#
notify 0 {
match "system" "IFNET";
@@ -17,3 +18,10 @@
media-type "802.11";
action "service dhclient quietstart $subsystem";
};
+
+notify 0 {
+ match "system" "IFNET";
+ match "subsystem" "bridge[0-9]+";
+ match "type" "LINK_UP";
+ action "service dhclient quietstart $subsystem";
+};

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 4:21 PM (1 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31920330
Default Alt Text
D53051.id164044.diff (915 B)

Event Timeline