Add copyright message

This commit is contained in:
Andy CA6JAU
2018-08-04 10:47:23 -04:00
parent 7a3d4e4ca3
commit 0004859f4d
6 changed files with 60 additions and 0 deletions
+10
View File
@@ -38,6 +38,11 @@ const char* DEFAULT_INI_FILE = "DMR2NXDN.ini";
const char* DEFAULT_INI_FILE = "/etc/DMR2NXDN.ini";
#endif
const char* HEADER1 = "This software is for use on amateur radio networks only,";
const char* HEADER2 = "it is to be used for educational purposes only. Its use on";
const char* HEADER3 = "commercial networks is strictly prohibited.";
const char* HEADER4 = "Copyright(C) 2018 by CA6JAU, G4KLX and others";
#include <functional>
#include <algorithm>
#include <cstdio>
@@ -205,6 +210,11 @@ int CDMR2NXDN::run()
}
#endif
LogInfo(HEADER1);
LogInfo(HEADER2);
LogInfo(HEADER3);
LogInfo(HEADER4);
m_defsrcid = m_conf.getDMRId();
std::string gatewayAddress = m_conf.getDstAddress();