]> The Tcpdump Group git mirrors - tcpdump/commitdiff
TCP: Sort #defines in the header file by port number
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 5 Nov 2023 21:01:08 +0000 (22:01 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 5 Nov 2023 21:02:14 +0000 (22:02 +0100)
[skip ci]

tcp.h

diff --git a/tcp.h b/tcp.h
index a4c28b61c27584a37eb5e5c0f477451256884f81..268869a45c60aff0e029f68de8dffc1e2709f448 100644 (file)
--- a/tcp.h
+++ b/tcp.h
@@ -140,6 +140,9 @@ extern const struct tok tcp_flag_values[];
 #ifndef NFS_PORT
 #define NFS_PORT               2049
 #endif
+#ifndef REDIS_PORT
+#define REDIS_PORT             6379
+#endif
 #ifndef OPENFLOW_PORT_OLD
 #define OPENFLOW_PORT_OLD      6633
 #endif
@@ -155,6 +158,3 @@ extern const struct tok tcp_flag_values[];
 #ifndef BEEP_PORT
 #define BEEP_PORT              10288
 #endif
-#ifndef REDIS_PORT
-#define REDIS_PORT             6379
-#endif