commit | 48ca51945d35eb785aa26cc61a29aee319ae67b1 | [log] [tgz] |
---|---|---|
author | Pier Ventre <pierventre@hotmail.com> | Mon Nov 28 16:52:24 2016 -0800 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Nov 30 18:19:40 2016 +0000 |
tree | 5686ceac222a69b4eefd5c9893dfc93f0b79ae36 | |
parent | d6e2e44b88ddcd6066e5c13896971d9524e86e4c [diff] [blame] |
Various fixes Change-Id: I9f4ec7248e3449f9540fc70d60cbdbc3f8cadab0
diff --git a/utils/misc/src/main/java/org/onlab/packet/IpPrefix.java b/utils/misc/src/main/java/org/onlab/packet/IpPrefix.java index a076530..7f50327 100644 --- a/utils/misc/src/main/java/org/onlab/packet/IpPrefix.java +++ b/utils/misc/src/main/java/org/onlab/packet/IpPrefix.java
@@ -66,6 +66,14 @@ } /** + * Default constructor for Kryo serialization. + */ + protected IpPrefix() { + this.address = null; + this.prefixLength = 0; + } + + /** * Returns the IP version of the prefix. * * @return the IP version of the prefix