Skip to content

Commit 9a436c4

Browse files
fix: compile only on linux
1 parent 2999342 commit 9a436c4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bpf-prog/block-iptables/cmd/block-iptables/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build linux
2+
// +build linux
3+
14
package main
25

36
import (

bpf-prog/block-iptables/cmd/block-iptables/main_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build linux
2+
// +build linux
3+
14
package main
25

36
import (

0 commit comments

Comments
 (0)