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