Removing Blind imports across the module
[netvirt.git] / vpnservice / vpnmanager / vpnmanager-impl / src / main / java / org / opendaylight / netvirt / vpnmanager / TunnelInterfaceStateListener.java
index 4420ce76951db822e8f76886b6b8adc15a903067..b9adc9ea88619e49bb5f5c82321846f8a4b19492 100644 (file)
@@ -243,8 +243,9 @@ public class TunnelInterfaceStateListener extends AbstractDataChangeListener<Sta
                                                         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) {