Vidyashree Rama
Committed by Gerrit Code Review

BGP update message test

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