cvs commit: src/sys/net if.c
Robert Watson
rwatson at FreeBSD.org
Wed Aug 24 04:19:49 GMT 2005
rwatson 2005-08-24 04:19:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/net if.c
Log:
Merge if.c:1.235 from HEAD to RELENG_6:
- Introduce a helper function if_setflag() containing the code common
to ifpromisc() and if_allmulti() instead of duplicating the code poorly,
with different bugs.
- Call ifp->if_ioctl() in a consistent way: always use more compatible C
syntax and check whether ifp->if_ioctl is not NULL prior to the call.
Discussed with: yar
Approved by: re (scottl)
Revision Changes Path
1.234.2.5 +105 -80 src/sys/net/if.c
More information about the cvs-src
mailing list