Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech committed Oct 17, 2024
1 parent 406291d commit e29c6aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions control/kern/tproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,7 @@ route(const __u32 flag[8], const void *l4hdr, const __be32 saddr[4],
.trie_key = { IPV6_BYTE_LENGTH * 8, {} },
};

const __u32 keys[] = { MatchType_L4Proto,
MatchType_IpVersion };
const __u32 keys[] = { MatchType_L4Proto, MatchType_IpVersion };

for (__u32 i = 0; i < ARRAY_SIZE(keys); i++) {
ret = bpf_map_update_elem(&l4proto_ipversion_map, &keys[i],
Expand Down

0 comments on commit e29c6aa

Please sign in to comment.