summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.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/AtomicAggregateAttribute.java
parentebec82011e1f83bd40f5bb94ea72c2552306e940 (diff)
WIP build with ByteBuffer
Diffstat (limited to 'src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java')
-rw-r--r--src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java b/src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java
index 6f7e479..7cc3aa5 100644
--- a/src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java
+++ b/src/main/java/com/lumaserv/bgp/protocol/attribute/AtomicAggregateAttribute.java
@@ -1,5 +1,7 @@
package com.lumaserv.bgp.protocol.attribute;
+import java.nio.ByteBuffer;
+
public class AtomicAggregateAttribute implements PathAttribute {
public AtomicAggregateAttribute(byte typeCode, byte[] data) {
@@ -10,8 +12,7 @@ public class AtomicAggregateAttribute implements PathAttribute {
return 6;
}
- public byte[] build() {
- return new byte[0];
+ public void build(ByteBuffer b) {
}
}