diff --git a/configs/codeplug.example.yml b/configs/codeplug.example.yml index 14318c5..5aad3aa 100644 --- a/configs/codeplug.example.yml +++ b/configs/codeplug.example.yml @@ -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 diff --git a/dvmconsole/PeerSystem.cs b/dvmconsole/PeerSystem.cs index e513baa..60df043 100644 --- a/dvmconsole/PeerSystem.cs +++ b/dvmconsole/PeerSystem.cs @@ -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