CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2012/07/25 12:18:59
Modified files: sys/arch/sparc/dev: if_le.c sys/dev/sbus : if_le_ledma.c Log message: When reporting media state, be sure to set IFM_AVALID and IFM_ACTIVE in ifm_status, for dhclient's sake. Current dhclient interface_status() considers interfaces able to report media information but not returning IFM_AVALID as down. Note that these interfaces usually have mii(4) or have specific code reporting correct values; sparc le(4) is an exception. Found the hard way by sebastia@; joint work with krw@, ok deraadt@