Ignore unknown subobjects while parsing RRO/ERO objects in PCEP messages
[bgpcep.git] / rsvp / spi / src / main / java / org / opendaylight / protocol / rsvp / parser / spi / subobjects / EROSubobjectListParser.java
index 9440e3e3b3ed5486528cc931e0cb61a481dfbc61..6385bdcf7b96607587cef8af5c7df67fc0dfd561 100644 (file)
@@ -49,7 +49,7 @@ public abstract class EROSubobjectListParser extends AbstractRSVPObjectParser {
             LOG.debug("Attempt to parse subobject from bytes: {}", ByteBufUtil.hexDump(buffer));
             final SubobjectContainer sub = this.subobjReg.parseSubobject(type, buffer.readSlice(length), loose);
             if (sub == null) {
-                LOG.warn("Unknown subobject type: {}. Ignoring subobject.", type);
+                LOG.warn("Parsing failed for subobject type: {}. Ignoring subobject.", type);
             } else {
                 LOG.debug("Subobject was parsed. {}", sub);
                 subs.add(sub);