vpnId, rd, adjacency.getIpAddress(), srcTepIp, destTepIp);
}
if ((tunTypeVal == VpnConstants.ITMTunnelLocType.External.getValue()) &&
- (dcgwPresentStatus == VpnConstants.DCGWPresentStatus.Absent.getValue())) { bgpManager.withdrawPrefix(rd, adjacency.getIpAddress());
- fibManager.cleanUpDpnForVpn(srcDpnId, vpnId, rd, srcTepIp, destTepIp);
+ (dcgwPresentStatus == VpnConstants.DCGWPresentStatus.Absent.getValue())) {
+ bgpManager.withdrawPrefix(rd, adjacency.getIpAddress());
+ fibManager.cleanUpDpnForVpn(srcDpnId, vpnId, rd, srcTepIp, destTepIp, null);
}
}
} catch (Exception e) {