cvs commit: src/sys/netinet ip_carp.c

Gleb Smirnoff glebius at FreeBSD.org
Thu Feb 24 09:05:29 GMT 2005


glebius     2005-02-24 09:05:28 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_carp.c 
  Log:
  Fix problem when master comes up with one interface down, and preempts
  mastering on all other interfaces:
  
  - call carp_carpdev_state() on initialize instead of just setting to INIT
  - in carp_carpdev_state() check that interface is UP, instead of checking
    that it is not DOWN, because a rebooted machine may have interface in
    UNKNOWN state.
  
  Sponsored by:   Rambler
  Obtained from:  OpenBSD (partially)
  
  Revision  Changes    Path
  1.4       +2 -2      src/sys/netinet/ip_carp.c


More information about the cvs-all mailing list