diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-25 16:26:25 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-25 23:27:23 +0400 |
commit | cbaf0fdfb3b65bda43e119cb5dabf2dcce7454d4 (patch) | |
tree | 783dd33abc777378c3d1ced757dca0c97d65f6cf /tcp.h | |
parent | 59690cf6b7ffce3cc86936cbe658909c6ec3a687 (diff) | |
download | tcpdump-cbaf0fdfb3b65bda43e119cb5dabf2dcce7454d4.tar.gz |
OpenFlow: add IANA-allocated TCP port
OF specifications 1.0.2 and 1.3.3 use a different port number. That
said, the old port is still likely to be seen in the wild after 4 years
of deployment. Let tcpdump recognize both for a while.
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -97,8 +97,11 @@ struct tcphdr { #define BGP_PORT 179 #endif #define NETBIOS_SSN_PORT 139 -#ifndef OPENFLOW_PORT -#define OPENFLOW_PORT 6633 +#ifndef OPENFLOW_PORT_OLD +#define OPENFLOW_PORT_OLD 6633 +#endif +#ifndef OPENFLOW_PORT_IANA +#define OPENFLOW_PORT_IANA 6653 #endif #ifndef PPTP_PORT #define PPTP_PORT 1723 |