update to wireguard-go-0.0.20190908 which contains the proper upstream
fix for our local patch. ok jasper (MAINTAINER)
This commit is contained in:
parent
a6faa12d51
commit
5dd4ded210
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2019/09/04 16:50:23 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2019/09/08 17:07:30 tb Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = amd64
|
||||
|
||||
COMMENT = implementation of WireGuard in Go
|
||||
|
||||
DISTNAME = wireguard-go-0.0.20190805
|
||||
DISTNAME = wireguard-go-0.0.20190908
|
||||
EPOCH = 0
|
||||
|
||||
CATEGORIES = net security
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (wireguard-go-0.0.20190805.tar.xz) = L1bSxOvD5Q1YHpLARuvzyITHA8TVs7SE5F9V5QwANNo=
|
||||
SIZE (wireguard-go-0.0.20190805.tar.xz) = 76468
|
||||
SHA256 (wireguard-go-0.0.20190908.tar.xz) = PEzIAqUhc20B0kv7T+KaXnTaB9aWN+x7ze4HTez2LGo=
|
||||
SIZE (wireguard-go-0.0.20190908.tar.xz) = 79212
|
||||
|
@ -1,26 +0,0 @@
|
||||
$OpenBSD: patch-tun_tun_openbsd_go,v 1.1 2019/09/04 16:50:23 jasper Exp $
|
||||
|
||||
Revert commit 4d5819183e218e040fa0a73df560b4a4a9a768d7 as it
|
||||
breaks some setups.
|
||||
|
||||
Index: tun/tun_openbsd.go
|
||||
--- tun/tun_openbsd.go.orig
|
||||
+++ tun/tun_openbsd.go
|
||||
@@ -173,13 +173,10 @@ func CreateTUNFromFile(file *os.File, mtu int) (Device
|
||||
|
||||
go tun.routineRouteListener(tunIfindex)
|
||||
|
||||
- currentMTU, err := tun.MTU()
|
||||
- if err != nil || currentMTU != mtu {
|
||||
- err = tun.setMTU(mtu)
|
||||
- if err != nil {
|
||||
- tun.Close()
|
||||
- return nil, err
|
||||
- }
|
||||
+ err = tun.setMTU(mtu)
|
||||
+ if err != nil {
|
||||
+ tun.Close()
|
||||
+ return nil, err
|
||||
}
|
||||
|
||||
return tun, nil
|
Loading…
x
Reference in New Issue
Block a user