From 8c00c7b81c8e1b6d65480f2741d1153738921ab5 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Tue, 22 Oct 2024 12:01:57 -0400 Subject: [PATCH] add missing peer link parameter when saving peer list; --- src/common/lookups/PeerListLookup.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/lookups/PeerListLookup.cpp b/src/common/lookups/PeerListLookup.cpp index f4d68b74..fee33719 100644 --- a/src/common/lookups/PeerListLookup.cpp +++ b/src/common/lookups/PeerListLookup.cpp @@ -266,6 +266,12 @@ bool PeerListLookup::save() line += password; line += ","; } + bool peerLink = entry.second.peerLink(); + if (peerLink) { + line += "1,"; + } else { + line += "0,"; + } // Add the newline line += "\n"; // Write to file