Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 09:46:25 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/contrib/ntp/ntpd ntp_io.c
Message-ID:  <201106280946.p5S9ke8d004729@repoman.freebsd.org>

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

bz          2011-06-28 09:46:25 UTC

  FreeBSD src repository

  Modified files:
    contrib/ntp/ntpd     ntp_io.c 
  Log:
  SVN rev 223626 on 2011-06-28 09:46:25Z by bz
  
  Compare port numbers correctly.  They are stored by SRCPORT()
  in host byte order, so we need to compare them as such.
  Properly compare IPv6 addresses as well.
  
  This allows the, by default, 8 badaddrs slots per address
  family to work correctly and only print sendto() errors once.
  
  The change is no longer applicable to any latest upstream versions.
  
  Approved by:    roberto
  Sponsored by:   Sandvine Incorporated
  MFC after:      1 week
  
  Revision  Changes    Path
  1.6       +3 -3      src/contrib/ntp/ntpd/ntp_io.c



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