Vidyashree Rama
Committed by Gerrit Code Review

BGP update message test

Change-Id: I28ae0ebf86143b99bab742b93fd3b4d0ff282ea5
...@@ -131,7 +131,7 @@ public class MpReachNlri implements BgpValueType { ...@@ -131,7 +131,7 @@ public class MpReachNlri implements BgpValueType {
131 if ((afi == Constants.AFI_VALUE) && (safi == Constants.SAFI_VALUE) || (afi == Constants.AFI_VALUE) 131 if ((afi == Constants.AFI_VALUE) && (safi == Constants.SAFI_VALUE) || (afi == Constants.AFI_VALUE)
132 && (safi == Constants.VPN_SAFI_VALUE)) { 132 && (safi == Constants.VPN_SAFI_VALUE)) {
133 byte nextHopLen = tempCb.readByte(); 133 byte nextHopLen = tempCb.readByte();
134 - InetAddress ipAddress = Validation.toInetAddress(nextHopLen, cb); 134 + InetAddress ipAddress = Validation.toInetAddress(nextHopLen, tempCb);
135 if (ipAddress.isMulticastAddress()) { 135 if (ipAddress.isMulticastAddress()) {
136 throw new BgpParseException("Multicast not supported"); 136 throw new BgpParseException("Multicast not supported");
137 } 137 }
......