Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 1996 21:09:11 -0700 (PDT)
From:      Julian Elischer <julian>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/net if.c
Message-ID:  <199608070409.VAA03871@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

julian      96/08/06 21:09:09

  Modified:    sys/net   if.c
  Log:
  Submitted by:	archie@whistle.com
  This is a patch to sys/net/if.c. What it does is patch the algorithm
  for finding an IP address on an interface which most closely matches
  a given IP address. The problem with it is when no address matches,
  and you have to just pick one at random. Then the code ends up picking
  the last IP address in the list. This patch changes things so it
  picks up the first address instead.
  Usually the first address is more useful as the later ones are aliases.
  
  Revision  Changes    Path
  1.36      +3 -2      src/sys/net/if.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608070409.VAA03871>