Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153354751
D53051.id164044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
915 B
Referenced Files
None
Subscribers
None
D53051.id164044.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D53051: Teach bridge interfaces to work with async DHCP (add IFM_ETHER support)
Attached
Detach File
Event Timeline
Log In to Comment