cvs commit: src/sys/net bridgestp.c bridgestp.h

Andrew Thompson thompsa at FreeBSD.org
Sat Aug 4 14:09:05 PDT 2007


thompsa     2007-08-04 21:09:05 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bridgestp.c bridgestp.h 
  Log:
  - Ensure the path cost does not exceed 65535 in legacy STP mode.
  - If the path cost is calculated when the link is down, set a pending flag so
    it is calculated again when it comes back up.
  - To not use 00:00:00:00:00:00 as the bridge id, all interfaces are scanned and
    the lowest number wins. All zeros is too low.
  
  Approved by:    re (rwatson)
  
  Revision  Changes    Path
  1.38      +30 -2     src/sys/net/bridgestp.c
  1.14      +1 -0      src/sys/net/bridgestp.h


More information about the cvs-src mailing list