Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109306929
D34485.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
350 B
Referenced Files
None
Subscribers
None
D34485.diff
View Options
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -1674,6 +1674,11 @@
goto fail;
}
+ /* If address was not found, create one based on the hostid and name. */
+ if (ETHER_IS_ZERO(eaddr)) {
+ ether_gen_addr(ifp, (struct ether_addr *)eaddr);
+ }
+
/*
* Call MI attach routine.
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 8:44 AM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16450743
Default Alt Text
D34485.diff (350 B)
Attached To
Mode
D34485: if_re: generate an address if there is none in the EEPROM
Attached
Detach File
Event Timeline
Log In to Comment