Bump upstreams for 2022.09 Chlorine
[openflowplugin.git] / extension / openflowjava-extension-nicira / src / main / java / org / opendaylight / openflowjava / nx / codec / match / Nshc2Codec.java
index 7f8533b39e2aebde17034571d112fb2b19573435..c5911c1603b1316afe869eec2fbbb24da4224c29 100644 (file)
@@ -22,7 +22,7 @@ public class Nshc2Codec extends AbstractNshcCodec {
             createSerializerKey(
                     EncodeConstants.OF_VERSION_1_3,
                     NiciraConstants.NX_NSH_VENDOR_ID,
-                    NxmNxNshc2.class);
+                    NxmNxNshc2.VALUE);
     public static final MatchEntryDeserializerKey DESERIALIZER_KEY =
             createDeserializerKey(
                     EncodeConstants.OF_VERSION_1_3,
@@ -35,7 +35,7 @@ public class Nshc2Codec extends AbstractNshcCodec {
     }
 
     @Override
-    public Class<? extends MatchField> getNxmField() {
-        return NxmNxNshc2.class;
+    public MatchField getNxmField() {
+        return NxmNxNshc2.VALUE;
     }
 }
\ No newline at end of file