From a367f2ca17ded8d4a362b991337192c7842a9ee5 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Sat, 3 Mar 2018 11:49:24 -0600 Subject: [PATCH] gofmt --- src/yggdrasil/tun.go | 4 ++-- src/yggdrasil/tun_openbsd.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/yggdrasil/tun.go b/src/yggdrasil/tun.go index ec883454..bc14ae2b 100644 --- a/src/yggdrasil/tun.go +++ b/src/yggdrasil/tun.go @@ -28,9 +28,9 @@ type tunDevice struct { } type tunDefaultParameters struct { - maximumIfMTU int + maximumIfMTU int defaultIfMTU int - defaultIfName string + defaultIfName string defaultIfTAPMode bool } diff --git a/src/yggdrasil/tun_openbsd.go b/src/yggdrasil/tun_openbsd.go index dbdf3ea2..22db2065 100644 --- a/src/yggdrasil/tun_openbsd.go +++ b/src/yggdrasil/tun_openbsd.go @@ -29,10 +29,10 @@ func getDefaults() tunDefaultParameters { // different values type tuninfo struct { - tun_mtu uint16 - tun_type uint32 - tun_flags uint32 - tun_dummy uint16 + tun_mtu uint16 + tun_type uint32 + tun_flags uint32 + tun_dummy uint16 } const TUNSIFINFO = (0x80000000) | ((12 & 0x1fff) << 16) | uint32(byte('t'))<<8 | 91