commit | 47b1b4abd712cbc45a9e8d22e1c1b72872554a1e | [log] [tgz] |
---|---|---|
author | jaegonkim <jaegon77.kim@samsung.com> | Mon Dec 04 14:08:26 2017 +0900 |
committer | Charles Chan <charles@opennetworking.org> | Thu Dec 21 17:26:39 2017 +0000 |
tree | dd3de32b6d1267044c0c3f3fd11366919d242e3c | |
parent | d8119809da6366d6b539148c1ea4db84165c3a1e [diff] [blame] |
[ONOS-7281] Using slow protocol destination mac address (01:80:C2:00:00:0E), and supporting port description in ONOS LLDP Change-Id: I98dfbad436da0b689a2ac89665ee3298c32b61e8
diff --git a/utils/misc/src/main/java/org/onlab/packet/LLDPTLV.java b/utils/misc/src/main/java/org/onlab/packet/LLDPTLV.java index bfac8f0..62f2e7a 100644 --- a/utils/misc/src/main/java/org/onlab/packet/LLDPTLV.java +++ b/utils/misc/src/main/java/org/onlab/packet/LLDPTLV.java
@@ -26,6 +26,9 @@ * */ public class LLDPTLV { + + public static final int MAX_LENGTH = 0x1ff; + protected byte type; protected short length; protected byte[] value;