[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Marc Balmer <mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 13 Mar 2008 02:32:02 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/03/13 02:32:02
Modified files:
sys/dev/usb : if_cdce.c
Log message:
when attaching a cdce(4) device that does not have a proper mac address,
use the tv_usec part of a getmicrotime(9) call instead of 'int ticks' to
create a mac address. as ticks is 0 during boot, this resulted in both ends
of a USB link cable to have the same mac address.
problem found/diff tested winiger, feedback/ok deraadt
Visit your host, monkey.org