summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java')
-rw-r--r--src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java b/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java
index 453f934..b4cf213 100644
--- a/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java
+++ b/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java
@@ -3,6 +3,8 @@ package com.lumaserv.bgp.protocol.attribute;
import lombok.Getter;
import lombok.Setter;
+import java.nio.ByteBuffer;
+
@Getter
@Setter
public class DevelopmentAttribute implements PathAttribute {
@@ -13,8 +15,8 @@ public class DevelopmentAttribute implements PathAttribute {
this.data = data;
}
- public byte[] build() {
- return data;
+ public void build(ByteBuffer b) {
+ b.put(data);
}
public byte getTypeCode() {