Opened 8 years ago
Closed 4 years ago
#734 closed Bug / Defect (fixed)
netbsd 7.0.1 / i386: show-gateway for IPv6 broken
Reported by: | Gert Döring | Owned by: | Gert Döring |
---|---|---|---|
Priority: | major | Milestone: | release 2.4 |
Component: | IPv6 | Version: | OpenVPN git master branch (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: |
Description
nbsd70$ SU src/openvpn/openvpn --show-gateway
Tue Sep 13 16:55:11 2016 GDG6: problem writing to routing socket
Tue Sep 13 16:55:11 2016 ROUTE_GATEWAY 194.97.140.30
Change History (4)
comment:2 Changed 4 years ago by
Yah. "long" vs. "uint64_t"... so happened to work on amd64 (sizeof(long)=8), stopped working on i386 when this was increased. Use RT_ROUNDUP() from <net/route.h>
comment:4 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
commit 37aab49b083a9e385970e3ab2dd727ea1a95ff35 (master)
commit 9a695902402faafa343783c38761c4c0ccbb2b83 (HEAD -> release/2.5)
commit 9e9fd488d7d939ac9992f8bd4c7394a39b73d7e4 (HEAD -> release/2.4)
Author: Gert Doering
Date: Sun Sep 13 16:56:21 2020 +0200
Fix --show-gateway for IPv6 on NetBSD/i386.
So, re-testing with 9.0 amd64/i386 in vagrant
NetBSD 64 / amd64 works:
(NOTE: if there is no IPv6 gateway, it will report the "problem writing to routing socket" as well - so the message could certainly improved)
NetBSD 9.0 / i386 never works:
"route get -inet6 ::" works, though
so this is something on our code. Possibly 32/64 bit ABI/API mismatch (like MacOS).