From 45143e7d7ad17e149d4df8f5502a15c3222691e4 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 30 Jan 2022 14:47:49 +0100 Subject: WIP build with ByteBuffer --- .../com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java') diff --git a/src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java b/src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java index 732b018..f4fb0ef 100644 --- a/src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java +++ b/src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java @@ -3,6 +3,8 @@ package com.lumaserv.bgp.protocol.attribute; import lombok.Getter; import lombok.Setter; +import java.nio.ByteBuffer; + @Setter @Getter public class ASPathLimitAttribute implements PathAttribute { @@ -22,8 +24,7 @@ public class ASPathLimitAttribute implements PathAttribute { return 21; } - public byte[] build() { - return new byte[0]; + public void build(ByteBuffer b) { } } -- cgit v1.2.3