summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/lumaserv')
-rw-r--r--src/main/java/com/lumaserv/bgp/BGPServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/lumaserv/bgp/BGPServer.java b/src/main/java/com/lumaserv/bgp/BGPServer.java
index 2e960fe..d06f341 100644
--- a/src/main/java/com/lumaserv/bgp/BGPServer.java
+++ b/src/main/java/com/lumaserv/bgp/BGPServer.java
@@ -43,7 +43,7 @@ public class BGPServer implements Runnable {
continue;
BGPOpen request = new BGPOpen(packet.getMessage());
BGPSessionConfiguration config = sessionConfigurations.stream()
- .filter(c -> c.getRemoteAs() == request.getAsn() && checkEqual(c.getRemoteIdentifier(), request.getIdentifier()))
+ .filter(c -> c.getRemoteAs() == request.getAsn())
.findFirst()
.orElse(null);
if(config == null)