summaryrefslogtreecommitdiffstats
path: root/ax25rtd
diff options
context:
space:
mode:
Diffstat (limited to 'ax25rtd')
-rw-r--r--ax25rtd/Makefile.in7
-rw-r--r--ax25rtd/ax25rtctl.c4
-rw-r--r--ax25rtd/ax25rtd.c4
-rw-r--r--ax25rtd/ax25rtd.h2
-rw-r--r--ax25rtd/cache_ctl.c2
-rw-r--r--ax25rtd/cache_dump.c2
-rw-r--r--ax25rtd/config.c2
-rw-r--r--ax25rtd/listener.c9
8 files changed, 22 insertions, 10 deletions
diff --git a/ax25rtd/Makefile.in b/ax25rtd/Makefile.in
index 87e7c17..7a5c71b 100644
--- a/ax25rtd/Makefile.in
+++ b/ax25rtd/Makefile.in
@@ -276,6 +276,13 @@ distdir: $(DISTFILES)
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
+ax25rtctl.o: ax25rtctl.c ../config.h ../pathnames.h
+ax25rtd.o: ax25rtd.c ../config.h ../pathnames.h ax25rtd.h
+cache_ctl.o: cache_ctl.c ../config.h ax25rtd.h
+cache_dump.o: cache_dump.c ../config.h ax25rtd.h
+config.o: config.c ../config.h ../pathnames.h ax25rtd.h
+listener.o: listener.c ../config.h ../pathnames.h ax25rtd.h
+
info-am:
info: info-am
dvi-am:
diff --git a/ax25rtd/ax25rtctl.c b/ax25rtd/ax25rtctl.c
index 6b40451..48ac48f 100644
--- a/ax25rtd/ax25rtctl.c
+++ b/ax25rtd/ax25rtctl.c
@@ -1,4 +1,4 @@
-/* $Id: ax25rtctl.c,v 1.1 2001/04/10 01:58:38 csmall Exp $
+/* $Id: ax25rtctl.c,v 1.1.1.1 2001/04/10 01:58:38 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
@@ -262,7 +262,7 @@ static void Version(void)
int sock;
char buf[256];
- printf("ax25rtctl $Revision: 1.1 $\n");
+ printf("ax25rtctl $Revision: 1.1.1.1 $\n");
sock = open_socket();
wsock(sock, "version\n");
read(sock, buf, sizeof(buf));
diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c
index c7e8d2a..651d380 100644
--- a/ax25rtd/ax25rtd.c
+++ b/ax25rtd/ax25rtd.c
@@ -1,4 +1,4 @@
-/* $Id: ax25rtd.c,v 1.1 2001/04/10 01:58:38 csmall Exp $
+/* $Id: ax25rtd.c,v 1.1.1.1 2001/04/10 01:58:38 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
@@ -63,7 +63,7 @@
#include "../pathnames.h"
#include "ax25rtd.h"
-const char *Version = "ax25rtd $Revision: 1.1 $";
+const char *Version = "ax25rtd $Revision: 1.1.1.1 $";
config *Config = NULL;
int reload = 0;
diff --git a/ax25rtd/ax25rtd.h b/ax25rtd/ax25rtd.h
index afebc71..1dc96ee 100644
--- a/ax25rtd/ax25rtd.h
+++ b/ax25rtd/ax25rtd.h
@@ -1,4 +1,4 @@
-/* $Id: ax25rtd.h,v 1.1 2001/04/10 01:58:39 csmall Exp $
+/* $Id: ax25rtd.h,v 1.1.1.1 2001/04/10 01:58:39 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
diff --git a/ax25rtd/cache_ctl.c b/ax25rtd/cache_ctl.c
index d204074..decce70 100644
--- a/ax25rtd/cache_ctl.c
+++ b/ax25rtd/cache_ctl.c
@@ -1,4 +1,4 @@
-/* $Id: cache_ctl.c,v 1.1 2001/04/10 01:58:39 csmall Exp $
+/* $Id: cache_ctl.c,v 1.1.1.1 2001/04/10 01:58:39 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
diff --git a/ax25rtd/cache_dump.c b/ax25rtd/cache_dump.c
index 3b51db5..0a2fd46 100644
--- a/ax25rtd/cache_dump.c
+++ b/ax25rtd/cache_dump.c
@@ -1,4 +1,4 @@
-/* $Id: cache_dump.c,v 1.1 2001/04/10 01:58:39 csmall Exp $
+/* $Id: cache_dump.c,v 1.1.1.1 2001/04/10 01:58:39 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
diff --git a/ax25rtd/config.c b/ax25rtd/config.c
index 1f92b2c..549e687 100644
--- a/ax25rtd/config.c
+++ b/ax25rtd/config.c
@@ -1,4 +1,4 @@
-/* $Id: config.c,v 1.1 2001/04/10 01:58:40 csmall Exp $
+/* $Id: config.c,v 1.1.1.1 2001/04/10 01:58:40 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
diff --git a/ax25rtd/listener.c b/ax25rtd/listener.c
index bd6b7ad..0cb7fe8 100644
--- a/ax25rtd/listener.c
+++ b/ax25rtd/listener.c
@@ -1,4 +1,4 @@
-/* $Id: listener.c,v 1.1 2001/04/10 01:58:42 csmall Exp $
+/* $Id: listener.c,v 1.1.1.1 2001/04/10 01:58:42 csmall Exp $
*
* Copyright (c) 1996 Jörg Reuter (jreuter@poboxes.com)
*
@@ -21,19 +21,24 @@
/* TODO: Should add partial path to ax25_route if we are one of the
* digipeaters.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/ioctl.h>
+#ifdef TIME_WITH_SYS_TIME
+#include <time.h>
+#endif
#include <sys/time.h>
#include <netinet/in.h>
#include <net/route.h>
#include <net/if.h>
#include <net/if_arp.h>
-#include <config.h>
#ifdef HAVE_NETAX25_AX25_H
#include <netax25/ax25.h>
#else