Skip to content

Commit 39eb1b6

Browse files
committed
added for inet 4.3.x compatibility
1 parent 0e6c5a3 commit 39eb1b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/openflow/openflow/protocol/OpenFlow.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#error OpenFlow: Incompatible INET version. At least INET version v4.3.2 required.
1111
#endif
1212

13+
#if INET_VERSION < 0x0404
14+
constexpr int ETHERTYPE_LLDP = 0x88CC;
15+
#endif
16+
1317
#ifndef OFP_VERSION_IN_USE
1418
#define OFP_VERSION_IN_USE OFP_100
1519
#endif

0 commit comments

Comments
 (0)