]> granicus.if.org Git - pdns/commit
Correctly parse ECS with a source prefix-length value of 0
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 9 Feb 2017 13:50:11 +0000 (14:50 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 20 Feb 2017 16:56:21 +0000 (17:56 +0100)
commit53221eafae3fe410586daf98cca0df3d81ea344c
treec4409d960f6d884c1aa8f917dce14935521b2b54
parent4be29d469836b9825b222faaf071ab962fe90ec3
Correctly parse ECS with a source prefix-length value of 0

It means there is no address there, but the family and source
prefix-length values are still relevant. rfc7871 explicitly says
that the family SHOULD be set to the transport over which the query
is sent if source prefix-length is 0.
It also states that a source prefix-length means the client is
asking that no ECS value be sent.
pdns/ednssubnet.cc