Date: Thu, 14 Jul 2005 13:56:51 +0000 (UTC) From: Yar Tikhiy <yar@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: <200507141356.j6EDuprg081632@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2005-07-14 13:56:51 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
MFp4:
- 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.
MFC after: 1 month
Revision Changes Path
1.235 +105 -80 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507141356.j6EDuprg081632>
