summaryrefslogtreecommitdiffhomepage
path: root/wgengine/netstack/netstack_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'wgengine/netstack/netstack_linux.go')
-rw-r--r--wgengine/netstack/netstack_linux.go38
1 files changed, 19 insertions, 19 deletions
diff --git a/wgengine/netstack/netstack_linux.go b/wgengine/netstack/netstack_linux.go
index a0bfb4456..9e27b7819 100644
--- a/wgengine/netstack/netstack_linux.go
+++ b/wgengine/netstack/netstack_linux.go
@@ -1,19 +1,19 @@
-// Copyright (c) Tailscale Inc & AUTHORS
-// SPDX-License-Identifier: BSD-3-Clause
-
-package netstack
-
-import (
- "os/exec"
- "syscall"
-
- "golang.org/x/sys/unix"
-)
-
-func init() {
- setAmbientCapsRaw = func(cmd *exec.Cmd) {
- cmd.SysProcAttr = &syscall.SysProcAttr{
- AmbientCaps: []uintptr{unix.CAP_NET_RAW},
- }
- }
-}
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
+
+package netstack
+
+import (
+ "os/exec"
+ "syscall"
+
+ "golang.org/x/sys/unix"
+)
+
+func init() {
+ setAmbientCapsRaw = func(cmd *exec.Cmd) {
+ cmd.SysProcAttr = &syscall.SysProcAttr{
+ AmbientCaps: []uintptr{unix.CAP_NET_RAW},
+ }
+ }
+}