BUG-338 Allow incomming BGP connections.
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / BGPSessionImpl.java
index 7b5e30f0d8fd8ae72f9d83f4feaa97234ea61df8..c0a8fe80dbe556c114866916b30427bcc6d56ea2 100644 (file)
@@ -109,8 +109,8 @@ public class BGPSessionImpl extends AbstractProtocolSession<Notification> implem
     private final AsNumber asNumber;
     private final Ipv4Address bgpId;
 
-    BGPSessionImpl(final Timer timer, final BGPSessionListener listener, final Channel channel, final Open remoteOpen,
-            final int localHoldTimer) {
+    public BGPSessionImpl(final Timer timer, final BGPSessionListener listener, final Channel channel, final Open remoteOpen,
+                          final int localHoldTimer) {
         this.listener = Preconditions.checkNotNull(listener);
         this.stateTimer = Preconditions.checkNotNull(timer);
         this.channel = Preconditions.checkNotNull(channel);