cvs commit: src/sys/netinet ip_carp.c

Gleb Smirnoff glebius at FreeBSD.org
Tue Feb 22 16:24:56 GMT 2005


glebius     2005-02-22 16:24:55 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_carp.c 
  Log:
  Remove promisc counter from parent interface in carp_clone_destroy(),
  so that parent interface is not left in promiscous mode after carp
  interface is destroyed.
  
  This is not perfect, since promisc counter is added when carp
  interface is assigned an IP address. However, when address is removed
  parent interface is still in promiscuous mode. Only removal of
  carp interface removes promisc from parent. Same way in OpenBSD.
  
  Sponsored by:   Rambler
  
  Revision  Changes    Path
  1.2       +1 -0      src/sys/netinet/ip_carp.c


More information about the cvs-src mailing list