aboutsummaryrefslogtreecommitdiffstats
path: root/tun/tun_freebsd.go
diff options
context:
space:
mode:
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
}