Page MenuHomeFreeBSD

D34485.id118038.diff
No OneTemporary

D34485.id118038.diff

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

Mime Type
text/plain
Expires
Sun, Feb 8, 5:42 PM (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28480172
Default Alt Text
D34485.id118038.diff (350 B)

Event Timeline