Page MenuHomeFreeBSD

D34485.diff
No OneTemporary

D34485.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
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)

Event Timeline