Date: Wed, 24 Aug 2005 04:19:48 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if.c Message-ID: <200508240419.j7O4Jnsr001588@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508240419.j7O4Jnsr001588>