diff --git a/QnetGateway.cpp b/QnetGateway.cpp index b3546cb..86eda94 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -19,7 +19,7 @@ /* by KI4LKF, N7TAE */ /* - g2_ircddb is a dstar G2 gateway, using irc routing + QnetGateway is a dstar G2 gateway, using irc routing adapted from the OpenG2 G2 gateway Version 2.61 or higher will use ONLY the irc mechanism of routing and it will NOT use any local Postgres databases or any TRUST(s) @@ -268,7 +268,7 @@ bool CQnetGateway::read_config(char *cfgFile) rptr.mod[m].desc1 = ""; if (! cfg.lookupValue(path+".desc2", rptr.mod[m].desc2)) rptr.mod[m].desc2 = ""; - if (! get_value(cfg, std::string(path+".url").c_str(), rptr.mod[m].url, 0, 80, "github.com/n7tae/g2_ircddb")) + if (! get_value(cfg, std::string(path+".url").c_str(), rptr.mod[m].url, 0, 80, "github.com/n7tae/QnetGateway")) return true; // truncate strings if (rptr.mod[m].desc1.length() > 20) @@ -603,7 +603,7 @@ bool CQnetGateway::get_yrcall_rptr(char *call, char *arearp_cs, char *zonerp_cs, return false; } -/* run the main loop for g2_ircddb */ +/* run the main loop for QnetGateway */ void CQnetGateway::process() { SDSVT g2buf; @@ -2588,7 +2588,7 @@ int CQnetGateway::init(char *cfgfile) plug.sin_port = htons(g2_link.port); plug.sin_addr.s_addr = inet_addr(g2_link.ip.c_str()); - printf("g2_ircddb...entering processing loop\n"); + printf("QnetGateway...entering processing loop\n"); if (bool_send_qrgs) qrgs_and_maps(); @@ -2631,7 +2631,7 @@ CQnetGateway::~CQnetGateway() ii->close(); delete ii; - printf("g2_ircddb exiting\n"); + printf("QnetGateway exiting\n"); } bool CQnetGateway::validate_csum(SBANDTXT &bt, bool is_gps) @@ -2843,7 +2843,7 @@ int main(int argc, char **argv) { printf("VERSION %s\n", IRCDDB_VERSION); if (argc != 2) { - printf("Example: g2_ircddb g2_ircddb.cfg\n"); + printf("usage: %s qn.cfg\n", argv[0]); return 1; } CQnetGateway QnetGateway; diff --git a/QnetLink.cpp b/QnetLink.cpp index f623b02..ea66d97 100644 --- a/QnetLink.cpp +++ b/QnetLink.cpp @@ -855,7 +855,7 @@ static bool read_config(char *cfgFile) return false; get_value(cfg, "g2_link.port", my_g2_link_port, 10000, 65535, 18997); - if (! get_value(cfg, "g2_link.g2_ircddb_ip", to_g2_external_ip, 7, IP_SIZE, "0.0.0.0")) + if (! get_value(cfg, "gateway.internal.ip", to_g2_external_ip, 7, IP_SIZE, "0.0.0.0")) return false; get_value(cfg, "gateway.external.port", to_g2_external_port, 1024, 65535, 40000); diff --git a/aprs.cpp b/aprs.cpp index 8b9b679..4390add 100644 --- a/aprs.cpp +++ b/aprs.cpp @@ -342,7 +342,7 @@ void CAPRS::Open(const std::string OWNER) printf("Connected to APRS %s:%d\n", m_rptr->aprs.ip.c_str(), m_rptr->aprs.port); /* login to aprs */ - sprintf(snd_buf, "user %s pass %d vers g2_ircddb 2.99 UDP 5 ", OWNER.c_str(), m_rptr->aprs_hash); + sprintf(snd_buf, "user %s pass %d vers qngateway 2.99 UDP 5 ", OWNER.c_str(), m_rptr->aprs_hash); /* add the user's filter */ if (m_rptr->aprs_filter.length()) { diff --git a/versions.h b/versions.h index d7bcb92..e0fb391 100644 --- a/versions.h +++ b/versions.h @@ -1,6 +1,6 @@ // version strings must be 55 characters or less! -#define IRCDDB_VERSION "linux-g2_ircddb-6.0.1" +#define IRCDDB_VERSION "linux-qngateway-6.0.1" #define LINK_VERSION "5.1.2" -#define DVAP_VERSION "linux-dvap_rptr-5.1.1" -#define DVRPTR_VERSION "linux-dvrptr-5.1.0" -#define MMDVM_VERSION "mmdvm-dvmega-0.1.0" +#define DVAP_VERSION "linux-qndvap-5.1.1" +#define DVRPTR_VERSION "linux-qndvrptr-5.1.0" +#define MMDVM_VERSION "mmdvm-qnmodem-0.1.0"