NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bind reacts badly to dhcpcd losing/regaining connectivity
- Subject: Re: bind reacts badly to dhcpcd losing/regaining connectivity
- From: Robert Elz <kre%munnari.OZ.AU@localhost>
- Date: Sun, 16 Apr 2017 08:23:21 +0700
Date: Sun, 16 Apr 2017 06:48:28 +0700
From: Robert Elz <kre%munnari.OZ.AU@localhost>
Message-ID: <17026.1492300108%andromeda.noi.kre.to@localhost>
| I suspect the IP_RECVDSTADDR setsockopt()
Actually, more probably IP_PKTINFO as that's the one named uses for IPv6.
Either would do for the purpose of determining the incoming address of a
UDP datagram, so the reply can be sent from the correct src addr, but
the interface identifier returned by IP_PKTINFO might be needed to make views
work (that is, even if sent to an external address, a packet received on
an internal interface is probably shown the internal view, not the external
one.)
kre
Home |
Main Index |
Thread Index |
Old Index