BUG-64 : refactor BGP parser to use ByteBuf
[bgpcep.git] / bgp / parser-impl / src / main / java / org / opendaylight / protocol / bgp / parser / impl / message / update / AS4PathAttributeParser.java
index 3e8c622dd06ed4567db834b6589419729f3209a7..07198fbd17fee9c5edd8d9109da45c9a25ad0d05 100644 (file)
@@ -7,14 +7,16 @@
  */
 package org.opendaylight.protocol.bgp.parser.impl.message.update;
 
+import io.netty.buffer.ByteBuf;
+
 import org.opendaylight.protocol.bgp.parser.spi.AttributeParser;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130918.update.PathAttributesBuilder;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.update.PathAttributesBuilder;
 
 public final class AS4PathAttributeParser implements AttributeParser {
        public static final int TYPE = 18;
 
        @Override
-       public void parseAttribute(final byte[] bytes, final PathAttributesBuilder builder) {
+       public void parseAttribute(final ByteBuf bytes, final PathAttributesBuilder builder) {
                // AS4 Path is ignored
        }
 }
\ No newline at end of file