]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: set local address on PTP socket on FreeBSD
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 16 Dec 2021 12:08:19 +0000 (13:08 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 16 Dec 2021 12:17:42 +0000 (13:17 +0100)
commit3dfac338582c3c557405b4aed1726a46db76f13e
tree8d433bf24613243dcd497bed2f91eef2debae96f
parentd5f2401421b59cbc50147fc30cd33233d7a388f2
ntp: set local address on PTP socket on FreeBSD

Fix the FreeBSD-specific code checking for a bound IPv4 socket to
include the new PTP port. This should fix a multihomed server to respond
to NTP-over-PTP requests from the address which received the request.

Fixes: be3158c4e5b2 ("ntp: add support for NTP over PTP")
ntp_io.c