Fix dissection of IPv4 header (#1561)

See: https://github.com/ntop/nDPI/runs/6643914510?check_suite_focus=true

Convert al the `MIN(a,b)` calls to `ndpi_min(a,b)`
This commit is contained in:
Ivan Nardi
2022-05-29 22:39:48 +02:00
committed by GitHub
parent 9c1a53f39f
commit a9d7cc4841
4 changed files with 4 additions and 8 deletions
-4
View File
@@ -49,10 +49,6 @@
#define IPVERSION 4 /* on *nix it is defined in netinet/ip.h */
#ifndef MIN
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
#endif
#if defined(__MINGW32__) || defined(__MINGW64__)
#undef gettimeofday
#define gettimeofday mingw_gettimeofday