Skip to content

Commit 5f66c53

Browse files
committed
Fix formatting.
1 parent c988049 commit 5f66c53

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ tasks:
4949

5050
fmt-bpf:
5151
cmds:
52-
- clang-format -i ./bpf/*.bpf.c
53-
- gsed -i 's,[[:space:]]*go:build,go:build,g' ./bpf/*.bpf.c
52+
- clang-format -i ./bpf/*.c ./bpf/*.h
53+
- gsed -i 's,[[:space:]]*go:build,go:build,g' ./bpf/*.c ./bpf/*.h
5454

5555
modernize:
5656
cmds:

bpf/counter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#define MAX_ENTRIES 131072
4343

4444
// IPv6 extension header protocol numbers
45-
#define IPPROTO_HOPOPTS 0 // Hop-by-Hop Options
46-
#define IPPROTO_ROUTING 43 // Routing Header
45+
#define IPPROTO_HOPOPTS 0 // Hop-by-Hop Options
46+
#define IPPROTO_ROUTING 43 // Routing Header
4747
#define IPPROTO_FRAGMENT 44 // Fragment Header
48-
#define IPPROTO_DSTOPTS 60 // Destination Options
48+
#define IPPROTO_DSTOPTS 60 // Destination Options

0 commit comments

Comments
 (0)