Committed by
Gerrit Code Review
BGP update message test
Change-Id: I28ae0ebf86143b99bab742b93fd3b4d0ff282ea5
Showing
2 changed files
with
1 additions
and
1 deletions
... | @@ -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 | } | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment