Back out r314471. In https://reviews.freebsd.org/D1858 it was clear

that this shouldn't go in. I was unaware when I merged the pull
request. I don't wish to upset the status quo, so backout per
project practice.

Pull Request:	https://github.com/freebsd/freebsd/pull/92
Noted by:	hrs@
This commit is contained in:
Warner Losh 2017-03-01 05:38:04 +00:00
parent 568123e100
commit 607a4c520e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314480

View File

@ -62,7 +62,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sockio.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/libkern.h>
#include <net/bpf.h>
#include <net/ethernet.h>
@ -725,7 +724,6 @@ epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params)
ifp = scb->ifp;
/* Assign a hopefully unique, locally administered etheraddr. */
eaddr[0] = 0x02;
eaddr[1] = arc4random() & 0xff;
eaddr[3] = (ifp->if_index >> 8) & 0xff;
eaddr[4] = ifp->if_index & 0xff;
eaddr[5] = 0x0b;