summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2022-01-30 14:47:49 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-12 23:50:07 +0100
commit45143e7d7ad17e149d4df8f5502a15c3222691e4 (patch)
tree57ad7add033e572dc0bdde65cf6021d290e060d1 /src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java
parentebec82011e1f83bd40f5bb94ea72c2552306e940 (diff)
WIP build with ByteBuffer
Diffstat (limited to 'src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java')
-rw-r--r--src/main/java/com/lumaserv/bgp/protocol/attribute/ASPathLimitAttribute.java5
1 files changed, 3 insertions, 2 deletions
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) {
}
}