galeb

Једноставна статичка дистрибуција заснована на musl-у
git clone https://git.sr.ht/~strahinja/galeb
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

0001-ipstats_c-define-MIN.patch (406B)


      1 --- ip.orig/ipstats.c	2023-04-14 11:51:56.799193658 +0200
      2 +++ ip/ipstats.c	2023-04-14 11:53:27.942786127 +0200
      3 @@ -6,6 +6,10 @@
      4  #include "utils.h"
      5  #include "ip_common.h"
      6  
      7 +#ifndef MIN
      8 +#define MIN(a, b) ((a) < (b) ? (a) : (b))
      9 +#endif
     10 +
     11  struct ipstats_stat_dump_filters {
     12  	/* mask[0] filters outer attributes. Then individual nests have their
     13  	 * filtering mask at the index of the nested attribute.