Oops, fix error with USE_FLOW_RL commented.
This commit is contained in:
@@ -28,7 +28,7 @@ static __always_inline void UpdateIpStats(__u64 *pps, __u64 *bps, __u32 ip, __u1
|
|||||||
|
|
||||||
struct ip_stats *ip_stats = bpf_map_lookup_elem(&ip_stats_map, &key);
|
struct ip_stats *ip_stats = bpf_map_lookup_elem(&ip_stats_map, &key);
|
||||||
#else
|
#else
|
||||||
struct ip_stats *ip_stats* = bpf_map_lookup_elem(&ip_stats_map, &ip);
|
struct ip_stats *ip_stats = bpf_map_lookup_elem(&ip_stats_map, &ip);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ip_stats)
|
if (ip_stats)
|
||||||
|
|||||||
Reference in New Issue
Block a user