commit | a7b394d410e1d5b97ded09888f9d3e68c2a3625b | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Sun Aug 21 23:11:46 2016 +0900 |
committer | Thomas Vachuska <tom@onlab.us> | Mon Aug 22 18:20:37 2016 +0000 |
tree | 196d94d429ea84cc5d0bd5bc5e88337830e12038 | |
parent | 4eb3e3ace0c429bc2260e551c782b3cdceb867bc [diff] |
[ONOS-4718] Deserialize addresses from LISP control message class With this commit, we try to deserilize all LispAfiAddress from all LISP control message classes. Change-Id: Iaf911bff90c45a70859285e426dc1649c3e6db32
diff --git a/protocols/lisp/msg/src/test/java/org/onosproject/lisp/msg/types/LispLcafAddressTest.java b/protocols/lisp/msg/src/test/java/org/onosproject/lisp/msg/types/LispLcafAddressTest.java index 99077d1..e0b61b2 100644 --- a/protocols/lisp/msg/src/test/java/org/onosproject/lisp/msg/types/LispLcafAddressTest.java +++ b/protocols/lisp/msg/src/test/java/org/onosproject/lisp/msg/types/LispLcafAddressTest.java
@@ -57,6 +57,6 @@ assertThat(lcafAddress.getReserved1(), is((byte) 0x01)); assertThat(lcafAddress.getReserved2(), is((byte) 0x01)); assertThat(lcafAddress.getFlag(), is((byte) 0x01)); - assertThat(lcafAddress.getLength(), is((byte) 0x01)); + assertThat(lcafAddress.getLength(), is((short) 1)); } }