diff options
author | JanHolger <jan@bebendorf.eu> | 2021-10-31 16:42:49 +0100 |
---|---|---|
committer | JanHolger <jan@bebendorf.eu> | 2021-10-31 16:42:49 +0100 |
commit | 4912be906f7663960474a34a3ba04c6c227dc91a (patch) | |
tree | 3420f6adb7a9b51083247d2885043fab5f3c5a41 /src/main/java/com/lumaserv | |
parent | 61901d60bfff1518eabffee846c4a5e36f3d62ed (diff) |
Removed router-id filter because it didn't work properly
Diffstat (limited to 'src/main/java/com/lumaserv')
-rw-r--r-- | src/main/java/com/lumaserv/bgp/BGPServer.java | 2 |
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) |