mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-14 02:39:06 +02:00
Addresses CI fixes
This commit is contained in:
@@ -691,6 +691,11 @@ func (e *Engine) Start(netbirdConfig *mgmProto.NetbirdConfig, mgmtURL *url.URL)
|
||||
if pqkem.Enabled() {
|
||||
tr, pqErr := newPQTransport(e.config.WgAddr.IP)
|
||||
if pqErr != nil {
|
||||
// In strict mode the peer must fail closed; silently continuing without the PQ
|
||||
// exchange would hand out classic tunnels, so treat the bind failure as fatal.
|
||||
if pqkem.Strict() {
|
||||
return fmt.Errorf("pqkem: strict mode enabled but transport bind failed: %w", pqErr)
|
||||
}
|
||||
log.Errorf("pqkem: transport bind failed, exchange disabled: %v", pqErr)
|
||||
} else {
|
||||
cbHandler := pqCallbackHandler{
|
||||
|
||||
Reference in New Issue
Block a user