cvs commit: src/sys/net if.c

Yar Tikhiy yar at FreeBSD.org
Thu Jul 14 13:56:52 GMT 2005


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


More information about the cvs-src mailing list