Skip to content

Commit f92ba40

Browse files
tklausergopherbot
authored andcommitted
route: remove RTM_LOCK on openbsd
RTM_LOCK is no longer defined on OpenBSD as of version 6.4, see https://man.openbsd.org/OpenBSD-6.4/route.4 and https://marc.info/?l=openbsd-tech&m=153018811429193&w=2 CL 419180 broke the build on openbsd/arm64 and openbsd/mips64 due to RTM_LOCK not being defined on these platforms because these ports were based on OpenBSD versions newer than 6.4. Earlier OpenBSD versions are no longer supported since Go 1.15 per https://golang.org/wiki/OpenBSD For golang/go#54035 Change-Id: I476a60ab2a082c7ddc763b5dbaf279ba47dcc1e1 Reviewed-on: https://go-review.googlesource.com/c/net/+/419937 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 1f511ac commit f92ba40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: route/sys_openbsd.go

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func probeRoutingStack() (int, map[int]*wireFormat) {
7373
unix.RTM_LOSING: rtm,
7474
unix.RTM_REDIRECT: rtm,
7575
unix.RTM_MISS: rtm,
76-
unix.RTM_LOCK: rtm,
7776
unix.RTM_RESOLVE: rtm,
7877
unix.RTM_NEWADDR: ifam,
7978
unix.RTM_DELADDR: ifam,

0 commit comments

Comments
 (0)