diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2017-09-08 08:56:34 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-09-08 10:09:48 +0200 |
commit | 1d15a03050d857b2240d380dc691aeeeb5af227c (patch) | |
tree | ecfc1987302ef64891815c1c4835e6e39dc81cee /package/network/utils | |
parent | a7506c0e2b2cc9c25c3c95523d21edcb8c710ed2 (diff) | |
download | mtk-20170518-1d15a03050d857b2240d380dc691aeeeb5af227c.zip mtk-20170518-1d15a03050d857b2240d380dc691aeeeb5af227c.tar.gz mtk-20170518-1d15a03050d857b2240d380dc691aeeeb5af227c.tar.bz2 |
dnsmasq: backport arcount edns0 fix
Don't return arcount=1 if EDNS0 RR won't fit in the packet.
Omitting the EDNS0 RR but setting arcount gives a malformed packet.
Also, don't accept UDP packet size less than 512 in received EDNS0.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network/utils')
0 files changed, 0 insertions, 0 deletions