Committed by
Pavlin Radoslavov
Fix for setting up peer paths where BGP speakers don't peer with all peers.
Returning prevents any further paths being set up, even though this isn't an error condition. Change-Id: I13eb4b3021c78f437dcfd2fa715bb4568e6046d1
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -136,7 +136,7 @@ public class PeerConnectivityManager { | ... | @@ -136,7 +136,7 @@ public class PeerConnectivityManager { |
136 | if (bgpdAddress == null) { | 136 | if (bgpdAddress == null) { |
137 | log.debug("There is no interface IP address for bgpPeer: {}" | 137 | log.debug("There is no interface IP address for bgpPeer: {}" |
138 | + " on interface {}", bgpPeer, bgpPeer.connectPoint()); | 138 | + " on interface {}", bgpPeer, bgpPeer.connectPoint()); |
139 | - return; | 139 | + continue; |
140 | } | 140 | } |
141 | 141 | ||
142 | IpAddress bgpdPeerAddress = bgpPeer.ipAddress(); | 142 | IpAddress bgpdPeerAddress = bgpPeer.ipAddress(); |
... | @@ -270,7 +270,7 @@ public class PeerConnectivityManager { | ... | @@ -270,7 +270,7 @@ public class PeerConnectivityManager { |
270 | log.debug("There is no IP address for bgpPeer: {} on " | 270 | log.debug("There is no IP address for bgpPeer: {} on " |
271 | + "interface port: {}", bgpPeer, | 271 | + "interface port: {}", bgpPeer, |
272 | bgpPeer.connectPoint()); | 272 | bgpPeer.connectPoint()); |
273 | - return; | 273 | + continue; |
274 | } | 274 | } |
275 | 275 | ||
276 | IpAddress bgpdPeerAddress = bgpPeer.ipAddress(); | 276 | IpAddress bgpdPeerAddress = bgpPeer.ipAddress(); | ... | ... |
-
Please register or login to post a comment