From a3886f2ff62cabdb912db7a0d9c163cbe96c0c40 Mon Sep 17 00:00:00 2001 From: Hibby Date: Sat, 21 Jan 2017 14:34:12 +0000 Subject: New upstream version 2.6 --- axdigi.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'axdigi.c') diff --git a/axdigi.c b/axdigi.c index 928d67c..2f3dbe6 100644 --- a/axdigi.c +++ b/axdigi.c @@ -39,7 +39,7 @@ #include /* added by N1URO */ #include - +#include "node.h" int recv_packet(unsigned char *buf, int size, unsigned char *port); void print_call(unsigned char *buf); unsigned char *find_call(char *port); @@ -53,7 +53,7 @@ void get_interfaces(int skt); #define E_BIT 0x01 /* Address extension bit */ #define REPEATED 0x80 /* Has-been-repeated bit */ #define MAX_PORTS 16 -#define VERSION "0.3" +// #define VERSION "0.3" #define AXDIGI_PID_FILE "/var/run/axdigi.pid" int port_count = 0; unsigned char portname[MAX_PORTS][20]; @@ -95,13 +95,14 @@ int main(int argc, char *argv[]) { if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "-h") ==0) { - printf("axdigi version %s. Copyright (C) 1995 Craig Small VK2XLZ\n", VERSION); + printf("axdigi: version %s.\n\r", VERSION); + printf("Copywrite (c) 1995 Craig Small - VK2XLZ\n\r"); printf("modificatiions Copyright (C) 2012-present by Brian N1URO\n\n"); - printf("axdigi comes with ABSOLUTELY NO WARRANTY.\n"); - printf("This is free software, and you are welcome to redistribute it\n"); - printf("under the terms of GNU General Public Licence as published\n"); - printf("by Free Software Foundation; either version 2 of the License, or\n"); - printf("(at your option) any later version.\n"); + printf("axdigi comes with ABSOLUTELY NO WARRANTY.\n\r"); + printf("This is free software, and you are welcome to redistribute it\n\r"); + printf("under the terms of GNU General Public Licence as published\n\r"); + printf("by Free Software Foundation; either version 2 of the License, or\n\r"); + printf("(at your option) any later version.\n\r"); return 0; } } @@ -122,7 +123,7 @@ if (!daemon_start(TRUE)) { pidfile = fopen(AXDIGI_PID_FILE, "w"); fprintf(pidfile, "%d\n", (int)getpid()); - fprintf(stderr, "axDigi started. \n\r"); + fprintf(stderr, "axDigi started. \n"); fclose(pidfile); signal(SIGHUP, hup_handler); -- cgit v1.2.3