mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-09 15:25:20 +02:00
[client] Fix pre-shared key state in wg show (#4222)
This commit is contained in:
@ -530,7 +530,7 @@ func parseStatus(deviceName, ipcStr string) (*Stats, error) {
|
|||||||
if currentPeer == nil {
|
if currentPeer == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if val != "" {
|
if val != "" && val != "0000000000000000000000000000000000000000000000000000000000000000" {
|
||||||
currentPeer.PresharedKey = true
|
currentPeer.PresharedKey = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user