BUG-64 : reformat TlvRegistry, to skip using getType method.
[bgpcep.git] / pcep / impl / src / main / java / org / opendaylight / protocol / pcep / impl / tlv / ReqMissingTlvParser.java
index 69604c7b6313d95b0eb9dd85b8945ce3da38a912..aee2be28657328e30779c0b8a982c635134a6d01 100644 (file)
@@ -36,7 +36,7 @@ public class ReqMissingTlvParser implements TlvParser, TlvSerializer {
                        throw new IllegalArgumentException("ReqMissingTlv is mandatory.");
                }
                final ReqMissing req = (ReqMissing) tlv;
-               return ByteArray.longToBytes(req.getRequestId().getValue(), REQ_ID_LENGTH);
+               return TlvUtil.formatTlv(TYPE, ByteArray.longToBytes(req.getRequestId().getValue(), REQ_ID_LENGTH));
        }
 
        @Override