commit | 329f2b088a3d2b01b7a1db0bdb108482d4870fff | [log] [tgz] |
---|---|---|
author | Yotam Harchol <yotam.harchol@bigswitch.com> | Wed Sep 11 15:05:26 2013 -0700 |
committer | Yotam Harchol <yotam.harchol@bigswitch.com> | Wed Sep 11 15:05:26 2013 -0700 |
tree | ee2c4f3b307060078bea939027cc898cdd68f529 | |
parent | 0936bfbd47469cf44734e0f207493151a678f457 [diff] [blame] |
Trivial fixes in the value types VlanVid, VlanPcp - NO_MASK constants were created wrongly and caused an exception.
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/VlanVid.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/VlanVid.java index 705464c..63b8831 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/VlanVid.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/VlanVid.java
@@ -8,7 +8,7 @@ private static final short VALIDATION_MASK = 0x0FFF; final static int LENGTH = 2; - public static final VlanVid NO_MASK = VlanVid.of((short)0xFFFF); + public static final VlanVid NO_MASK = new VlanVid((short)0xFFFF); public static final VlanVid FULL_MASK = VlanVid.of((short)0x0); private final short vid;