commit | eeb10fc7f8c0adb4c33e0a049e20681209a735e1 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Dec 01 17:44:35 2017 -0800 |
committer | Charles Chan <rascov@gmail.com> | Sun Dec 03 13:42:50 2017 -0800 |
tree | f83f76596f72d64c0cca306f236cdb6f30cb3010 | |
parent | 55f513ff29cc40370c7d3339abaa576e86ae350e [diff] |
NDP_HOP_LIMIT should be 255(10) instead of 0x255(16) Change-Id: Ia718f353941fae492e7b3ca1f5c5b2aa142faf1b
diff --git a/utils/misc/src/main/java/org/onlab/packet/ndp/NeighborSolicitation.java b/utils/misc/src/main/java/org/onlab/packet/ndp/NeighborSolicitation.java index 51018e4..d48edc9 100644 --- a/utils/misc/src/main/java/org/onlab/packet/ndp/NeighborSolicitation.java +++ b/utils/misc/src/main/java/org/onlab/packet/ndp/NeighborSolicitation.java
@@ -38,7 +38,7 @@ public class NeighborSolicitation extends BasePacket { public static final byte HEADER_LENGTH = 20; // bytes // Constants for NDP reply - protected static final byte NDP_HOP_LIMIT = (byte) 0x255; + protected static final byte NDP_HOP_LIMIT = (byte) 255; protected static final byte RESERVED_CODE = (byte) 0x0; protected byte[] targetAddress = new byte[Ip6Address.BYTE_LENGTH];