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.
#endif
else if (sport == BEEP_PORT || dport == BEEP_PORT)
beep_print(gndo, bp, length);
- else if (sport == OPENFLOW_PORT || dport == OPENFLOW_PORT)
+ else if (sport == OPENFLOW_PORT_OLD || dport == OPENFLOW_PORT_OLD ||
+ sport == OPENFLOW_PORT_IANA || dport == OPENFLOW_PORT_IANA)
openflow_print(gndo, bp, length);
else if (length > 2 &&
(sport == NAMESERVER_PORT || dport == NAMESERVER_PORT ||
#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