commit | e38c21e21e58748da9cf8e35de00ee0e446a2068 | [log] [tgz] |
---|---|---|
author | Shashikanth VH <shashikanth.vh@huawei.com> | Thu May 26 21:37:25 2016 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri May 27 03:43:49 2016 +0000 |
tree | 190bc971fc769059d009a31e98c6324514094d91 | |
parent | a82b2171a49b43eab4c42584e67e9aecefbea311 [diff] [blame] |
BGP routepolicy distribution bug fixes. Change-Id: I2176e3872391658263d6817ac8850a3390de00de
diff --git a/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/types/WideCommunityIpV4Neighbour.java b/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/types/WideCommunityIpV4Neighbour.java index 92464f4..5fc16cc 100644 --- a/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/types/WideCommunityIpV4Neighbour.java +++ b/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/types/WideCommunityIpV4Neighbour.java
@@ -97,8 +97,8 @@ while (listIterator.hasNext()) { IpV4Neighbour speaker = listIterator.next(); if (speaker instanceof IpV4Neighbour) { - c.writeInt(Integer.valueOf(speaker.localSpeaker.toString())); - c.writeInt(Integer.valueOf(speaker.remoteSpeaker.toString())); + c.writeBytes(speaker.localSpeaker().toOctets()); + c.writeBytes(speaker.remoteSpeaker().toOctets()); } }