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 / RROSubobjectListParser.java
index 17d2519826dc24d2510bb9ab3ebd150891abd9a6..60d4783980e35363b7b9ec1ad92f2ef0cd4fd7e3 100644 (file)
@@ -44,7 +44,7 @@ public abstract class RROSubobjectListParser extends AbstractRSVPObjectParser {
             LOG.debug("Attempt to parse subobject from bytes: {}", ByteBufUtil.hexDump(buffer));
             final SubobjectContainer sub = this.subobjReg.parseSubobject(type, buffer.readSlice(length));
             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);