mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 15:37:54 -05:00
fix order of nat detector (#414)
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
This commit is contained in:
@@ -597,7 +597,7 @@ public class RunnerBuilder {
|
||||
final NatMethod detectedNatMethod =
|
||||
Optional.of(natMethod)
|
||||
.filter(not(isEqual(NatMethod.AUTO)))
|
||||
.orElse(NatService.autoDetectNatMethod(new DockerDetector(), new KubernetesDetector()));
|
||||
.orElse(NatService.autoDetectNatMethod(new KubernetesDetector(), new DockerDetector()));
|
||||
switch (detectedNatMethod) {
|
||||
case UPNP:
|
||||
return Optional.of(new UpnpNatManager());
|
||||
|
||||
Reference in New Issue
Block a user