aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/dd.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-09-06 22:31:48 -0700
committerRob Landley <rob@landley.net>2019-09-07 17:26:51 -0500
commit4247dca900e08daa6a8a2333baca6136bdbba31d (patch)
tree107f2c6b6e11453b7c9a9bb4a451c3d431a8f7a2 /toys/pending/dd.c
parentacc9e87d164dcb037ab86cd2ecff7262d4b13792 (diff)
downloadtoybox-4247dca900e08daa6a8a2333baca6136bdbba31d.tar.gz
host: cope with large DNS responses.
DNS responses were limited to 512 bytes back when they were UDP only, but if you have a TCP connection you can get up to 64KiB. Also use the existing constant for the size of rrname. Also update the help text. Also consistently use `sizeof(T)` rather than `sizeof T`. Also use consistently use `ARRAY_LEN`. Fixes #56. Test: `toybox host value.testing.express`
Diffstat (limited to 'toys/pending/dd.c')
0 files changed, 0 insertions, 0 deletions