summaryrefslogtreecommitdiffhomepage
path: root/tun/tun_freebsd.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-06 23:00:15 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-06 23:00:15 +0200
commiteaf17becfa70c31bcfb6f195e8d68cb5b720ec4a (patch)
tree09d1831e80468dd1703c174784d19c8697538fd7 /tun/tun_freebsd.go
parent6d8b68c8f3cd7c9e9560c23e5f20e3ec4bc4fb6e (diff)
global: fixup TODO comment spacing
Diffstat (limited to 'tun/tun_freebsd.go')
-rw-r--r--tun/tun_freebsd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tun/tun_freebsd.go b/tun/tun_freebsd.go
index b7c82cf..df43ab7 100644
--- a/tun/tun_freebsd.go
+++ b/tun/tun_freebsd.go
@@ -26,7 +26,7 @@ const (
_TUNSIFPID = 0x2000745f
)
-//TODO: move into x/sys/unix
+// TODO: move into x/sys/unix
const (
SIOCGIFINFO_IN6 = 0xc048696c
SIOCSIFINFO_IN6 = 0xc048696d
@@ -467,7 +467,7 @@ func (tun *NativeTun) Write(buff []byte, offset int) (int, error) {
}
func (tun *NativeTun) Flush() error {
- //TODO: can flushing be implemented by buffering and using sendmmsg?
+ // TODO: can flushing be implemented by buffering and using sendmmsg?
return nil
}