Move EffectiveRibInWriter to Binding independent
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / ApplicationPeer.java
index 3065592637025ec645f57e4e52321e873de44e1e..aa1a83f22ce96b836409be3c5acb82a2d71e50d7 100644 (file)
@@ -157,7 +157,7 @@ public class ApplicationPeer extends AbstractPeer implements ClusteredDOMDataTre
         this.adjRibInWriter = this.adjRibInWriter.transform(this.peerId, this.peerPath, context, localTables,
                 Collections.emptyMap(), registerAppPeerListener);
         this.effectiveRibInWriter = new EffectiveRibInWriter(this, this.rib,
-                this.rib.createPeerChain(this), this.peerIId, localTables, this.tableTypeRegistry,
+                this.rib.createPeerDOMChain(this), this.peerPath, localTables, this.tableTypeRegistry,
                 new ArrayList<>(), this.rtCache);
         this.effectiveRibInWriter.init();
         this.bgpSessionState.registerMessagesCounter(this);