removed reference to g2_ircddb

pull/1/head
Tom Early 8 years ago
parent e810f4ab73
commit b277e14188

@ -19,7 +19,7 @@
/* by KI4LKF, N7TAE */ /* 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 adapted from the OpenG2 G2 gateway
Version 2.61 or higher will use ONLY the irc mechanism of routing 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) 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 = ""; rptr.mod[m].desc1 = "";
if (! cfg.lookupValue(path+".desc2", rptr.mod[m].desc2)) if (! cfg.lookupValue(path+".desc2", rptr.mod[m].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; return true;
// truncate strings // truncate strings
if (rptr.mod[m].desc1.length() > 20) 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; return false;
} }
/* run the main loop for g2_ircddb */ /* run the main loop for QnetGateway */
void CQnetGateway::process() void CQnetGateway::process()
{ {
SDSVT g2buf; SDSVT g2buf;
@ -2588,7 +2588,7 @@ int CQnetGateway::init(char *cfgfile)
plug.sin_port = htons(g2_link.port); plug.sin_port = htons(g2_link.port);
plug.sin_addr.s_addr = inet_addr(g2_link.ip.c_str()); 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) if (bool_send_qrgs)
qrgs_and_maps(); qrgs_and_maps();
@ -2631,7 +2631,7 @@ CQnetGateway::~CQnetGateway()
ii->close(); ii->close();
delete ii; delete ii;
printf("g2_ircddb exiting\n"); printf("QnetGateway exiting\n");
} }
bool CQnetGateway::validate_csum(SBANDTXT &bt, bool is_gps) 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); printf("VERSION %s\n", IRCDDB_VERSION);
if (argc != 2) { if (argc != 2) {
printf("Example: g2_ircddb g2_ircddb.cfg\n"); printf("usage: %s qn.cfg\n", argv[0]);
return 1; return 1;
} }
CQnetGateway QnetGateway; CQnetGateway QnetGateway;

@ -855,7 +855,7 @@ static bool read_config(char *cfgFile)
return false; return false;
get_value(cfg, "g2_link.port", my_g2_link_port, 10000, 65535, 18997); 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; return false;
get_value(cfg, "gateway.external.port", to_g2_external_port, 1024, 65535, 40000); get_value(cfg, "gateway.external.port", to_g2_external_port, 1024, 65535, 40000);

@ -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); printf("Connected to APRS %s:%d\n", m_rptr->aprs.ip.c_str(), m_rptr->aprs.port);
/* login to aprs */ /* 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 */ /* add the user's filter */
if (m_rptr->aprs_filter.length()) { if (m_rptr->aprs_filter.length()) {

@ -1,6 +1,6 @@
// version strings must be 55 characters or less! // 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 LINK_VERSION "5.1.2"
#define DVAP_VERSION "linux-dvap_rptr-5.1.1" #define DVAP_VERSION "linux-qndvap-5.1.1"
#define DVRPTR_VERSION "linux-dvrptr-5.1.0" #define DVRPTR_VERSION "linux-qndvrptr-5.1.0"
#define MMDVM_VERSION "mmdvm-dvmega-0.1.0" #define MMDVM_VERSION "mmdvm-qnmodem-0.1.0"

Loading…
Cancel
Save

Powered by TurnKey Linux.