src/world/iproute2/iproute2-missing-min.patch

13 lines
485 B
Diff

diff -Naur iproute2-5.19.0.orig/ip/ipstats.c iproute2-5.19.0/ip/ipstats.c
--- iproute2-5.19.0.orig/ip/ipstats.c 2022-12-30 00:50:52.499470165 -0500
+++ iproute2-5.19.0/ip/ipstats.c 2022-12-30 00:52:26.537035260 -0500
@@ -6,6 +6,8 @@
#include "utils.h"
#include "ip_common.h"
+#define MIN(a,b) (((a)<(b))?(a):(b))
+
struct ipstats_stat_dump_filters {
/* mask[0] filters outer attributes. Then individual nests have their
* filtering mask at the index of the nested attribute.