]> granicus.if.org Git - curl/commit
doh: keep the IPv4 address in (original) network byte order
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Oct 2018 09:57:29 +0000 (11:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Oct 2018 20:15:34 +0000 (22:15 +0200)
commit7f00146d0098e585727a219d4835800bc862b31d
treeecdf43ec07706105c720021de7be264b62bfeda8
parentec49132faf0c8c42e08f4c77bb14988fd57075cb
doh: keep the IPv4 address in (original) network byte order

Ideally this will fix the reversed order shown in SPARC tests:

  resp 8: Expected 127.0.0.1 got 1.0.0.127

Closes #3091
lib/doh.c
lib/doh.h
tests/unit/unit1650.c