]> git.scottworley.com Git - tattlekey/commit
client: net: Fix port byte order
authorScott Worley <scottworley@scottworley.com>
Sun, 8 Oct 2023 04:34:50 +0000 (21:34 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 11 Oct 2023 01:48:07 +0000 (18:48 -0700)
commit1d94976e09413eba32972b3c60f30e2ee83dbcdb
treeae958a89eb79aa2e15e24994755ee855de02a603
parent1e0a316ef9271ddd7e1422883a0a8db771b77a13
client: net: Fix port byte order

Docs ( https://www.nongnu.org/lwip/2_0_x/group__udp__raw.html ) say
"ipaddr & port are expected to be in the same byte order as in the pcb,"
which apparently means _don't_ run it through htons().
client/net.c