commit | 125572b666c80aebe515307618a0b5e3c0b9a8ac | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Mon Feb 22 16:48:17 2016 -0800 |
committer | Ray Milkey <ray@onlab.us> | Tue Feb 23 08:51:36 2016 -0800 |
tree | c5033d54030dff13373cc5027e82fe3652b9ded2 | |
parent | b0f09be1a4477db10dc74828a3907c6bac9eeea3 [diff] [blame] |
Remove methods deprecated in Drake from L2ModificationInstruction API Change-Id: I30dbc2e9c590d4bc2bc672e13581dbd1c3b3561b
diff --git a/core/common/src/main/java/org/onosproject/codec/impl/EncodeInstructionCodecHelper.java b/core/common/src/main/java/org/onosproject/codec/impl/EncodeInstructionCodecHelper.java index 268d110..5db7c6d 100644 --- a/core/common/src/main/java/org/onosproject/codec/impl/EncodeInstructionCodecHelper.java +++ b/core/common/src/main/java/org/onosproject/codec/impl/EncodeInstructionCodecHelper.java
@@ -144,7 +144,7 @@ case MPLS_LABEL: final L2ModificationInstruction.ModMplsLabelInstruction modMplsLabelInstruction = (L2ModificationInstruction.ModMplsLabelInstruction) instruction; - result.put(InstructionCodec.MPLS_LABEL, modMplsLabelInstruction.mplsLabel().toInt()); + result.put(InstructionCodec.MPLS_LABEL, modMplsLabelInstruction.label().toInt()); break; case MPLS_PUSH: