Skip to content

Commit 9ac5fa6

Browse files
chore: cleanup
1 parent 9452ce6 commit 9ac5fa6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ all-binaries-platforms: ## Make all platform binaries
127127

128128
# OS specific binaries/images
129129
ifeq ($(GOOS),linux)
130-
all-binaries: acncli azure-cni-plugin azure-cns azure-npm azure-ipam ip-masq-merger ipv6-hp-bpf block-iptables
130+
all-binaries: acncli azure-cni-plugin azure-cns azure-npm azure-ipam azure-ip-masq-merger ipv6-hp-bpf block-iptables
131131
all-images: npm-image cns-image cni-manager-image azure-ip-masq-merger-image ipv6-hp-bpf-image
132132
else
133133
all-binaries: azure-cni-plugin azure-cns azure-npm

bpf-prog/block-iptables/bpf/src/block_iptables.bpf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ int is_host_ns() {
7171
return 1;
7272
}
7373

74-
// LSM hook: security_socket_create(family, type, protocol, kern)
7574
SEC("lsm/socket_setsockopt")
7675
int BPF_PROG(iptables_legacy_block, struct socket *sock, int level, int optname)
7776
{
@@ -150,4 +149,4 @@ int BPF_PROG(iptables_nftables_block, struct sock *sk, struct sk_buff *skb) {
150149
}
151150

152151
return 0;
153-
}
152+
}

0 commit comments

Comments
 (0)