ensure the identity string is never empty, if it is replace it with the peer ID;

pull/1/head
Bryan Biedenkapp 11 months ago
parent b44db8beb2
commit a4d226db29

@ -10,7 +10,7 @@ systems:
# Textual name for internal and external reference to this system
- name: "System 1"
# Textual name to idenitify this peer in the FNE
Identity: "CONS OP1"
identity: "CONS OP1"
# FNE Address
address: "127.0.0.1"
# FNE Port

@ -74,6 +74,9 @@ namespace dvmconsole
string software = $"CONSOLE_R{_SEM_VERSION.Major.ToString("D2")}A{_SEM_VERSION.Minor.ToString("D2")}";
if (system.Identity.Length == 0)
system.Identity = system.PeerId.ToString();
// set configuration parameters
peer.Passphrase = system.Password;
peer.Information = new PeerInformation

Loading…
Cancel
Save

Powered by TurnKey Linux.