]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove unused TCP ports
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 2 Oct 2018 16:44:42 +0000 (18:44 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 2 Oct 2018 17:27:08 +0000 (19:27 +0200)
tcp.h

diff --git a/tcp.h b/tcp.h
index 701c23f847be1f0f0525c3edc5d6e97526f10c9b..e1318f8344b0281b7efd8319207155c2a3022b97 100644 (file)
--- a/tcp.h
+++ b/tcp.h
@@ -94,9 +94,6 @@ struct tcphdr {
 #ifndef FTP_PORT
 #define FTP_PORT               21
 #endif
-#ifndef SSH_PORT
-#define SSH_PORT               22
-#endif
 #ifndef TELNET_PORT
 #define TELNET_PORT            23
 #endif
@@ -112,9 +109,6 @@ struct tcphdr {
 #ifndef HTTP_PORT
 #define HTTP_PORT              80
 #endif
-#ifndef NETBIOS_NS_PORT
-#define NETBIOS_NS_PORT                137     /* RFC 1001, RFC 1002 */
-#endif
 #ifndef NETBIOS_SSN_PORT
 #define NETBIOS_SSN_PORT       139     /* RFC 1001, RFC 1002 */
 #endif