diff options
-rw-r--r-- | ax25ipd/bpqether.c | 2 | ||||
-rw-r--r-- | ax25rtd/ax25rtctl.c | 5 | ||||
-rw-r--r-- | ax25rtd/ax25rtd.c | 4 | ||||
-rw-r--r-- | ax25rtd/ax25rtd.h | 3 | ||||
-rw-r--r-- | ax25rtd/cache_ctl.c | 3 | ||||
-rw-r--r-- | ax25rtd/cache_dump.c | 3 | ||||
-rw-r--r-- | ax25rtd/config.c | 6 | ||||
-rw-r--r-- | ax25rtd/listener.c | 3 | ||||
-rw-r--r-- | listen/arpdump.c | 2 | ||||
-rw-r--r-- | listen/ax25dump.c | 2 | ||||
-rw-r--r-- | listen/icmpdump.c | 2 | ||||
-rw-r--r-- | listen/ipdump.c | 2 | ||||
-rw-r--r-- | listen/kissdump.c | 2 | ||||
-rw-r--r-- | listen/nrdump.c | 2 | ||||
-rw-r--r-- | listen/tcpdump.c | 2 | ||||
-rw-r--r-- | listen/udpdump.c | 2 |
16 files changed, 9 insertions, 36 deletions
diff --git a/ax25ipd/bpqether.c b/ax25ipd/bpqether.c index 1423dfd..1c2805b 100644 --- a/ax25ipd/bpqether.c +++ b/ax25ipd/bpqether.c @@ -1,5 +1,3 @@ -/* @(#) $Id: bpqether.c,v 1.5 2009/04/22 21:22:01 dl9sau Exp $ */ - extern int ttyfd; /* * this is a port of wampes ethertap whith my extension for bpqether diff --git a/ax25rtd/ax25rtctl.c b/ax25rtd/ax25rtctl.c index ddf5602..95eb822 100644 --- a/ax25rtd/ax25rtctl.c +++ b/ax25rtd/ax25rtctl.c @@ -1,5 +1,4 @@ -/* $Id: ax25rtctl.c,v 1.4 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify @@ -251,7 +250,7 @@ static void Version(void) int sock; char buf[256]; - printf("ax25rtctl $Revision: 1.4 $\n"); + printf("ax25rtctl version " VERSION "\n"); sock = open_socket(); wsock(sock, "version\n"); read(sock, buf, sizeof(buf)); diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c index e08cb1d..b79a3b3 100644 --- a/ax25rtd/ax25rtd.c +++ b/ax25rtd/ax25rtd.c @@ -1,5 +1,4 @@ -/* $Id: ax25rtd.c,v 1.8 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify @@ -58,7 +57,6 @@ #include "../pathnames.h" #include "ax25rtd.h" -const char *Version = "ax25rtd $Revision: 1.8 $"; config *Config = NULL; int reload = 0; diff --git a/ax25rtd/ax25rtd.h b/ax25rtd/ax25rtd.h index 1e94fed..83a1df5 100644 --- a/ax25rtd/ax25rtd.h +++ b/ax25rtd/ax25rtd.h @@ -1,5 +1,4 @@ -/* $Id: ax25rtd.h,v 1.4 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify diff --git a/ax25rtd/cache_ctl.c b/ax25rtd/cache_ctl.c index 7e83280..0a80387 100644 --- a/ax25rtd/cache_ctl.c +++ b/ax25rtd/cache_ctl.c @@ -1,5 +1,4 @@ -/* $Id: cache_ctl.c,v 1.4 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify diff --git a/ax25rtd/cache_dump.c b/ax25rtd/cache_dump.c index 5ad3f53..38de780 100644 --- a/ax25rtd/cache_dump.c +++ b/ax25rtd/cache_dump.c @@ -1,5 +1,4 @@ -/* $Id: cache_dump.c,v 1.4 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify diff --git a/ax25rtd/config.c b/ax25rtd/config.c index e05cb95..abc40b3 100644 --- a/ax25rtd/config.c +++ b/ax25rtd/config.c @@ -1,5 +1,4 @@ -/* $Id: config.c,v 1.7 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify @@ -670,8 +669,7 @@ void interpret_command(int fd, unsigned char *buf) } else if (!strcmp(cmd, "save")) { save_cache(); } else if (!strcmp(cmd, "version")) { - char buf[256]; - sprintf(buf, "%s\n", Version); + char buf[] = "ax25rtd version " VERSION "\n"; write(fd, buf, strlen(buf)); } else if (!strcmp(cmd, "quit")) { close(fd); diff --git a/ax25rtd/listener.c b/ax25rtd/listener.c index 342e41b..ab84889 100644 --- a/ax25rtd/listener.c +++ b/ax25rtd/listener.c @@ -1,5 +1,4 @@ -/* $Id: listener.c,v 1.8 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify diff --git a/listen/arpdump.c b/listen/arpdump.c index ef94c00..69a0c4a 100644 --- a/listen/arpdump.c +++ b/listen/arpdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/arpdump.c,v 1.2 2001/09/12 13:18:43 terry Exp $ */ - /* ARP packet tracing routines * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/ax25dump.c b/listen/ax25dump.c index ad237a5..a7b696c 100644 --- a/listen/ax25dump.c +++ b/listen/ax25dump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/ax25dump.c,v 1.6 2008/04/27 17:00:21 dl9sau Exp $ */ - /* AX25 header tracing * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/icmpdump.c b/listen/icmpdump.c index dcec1b0..55431be 100644 --- a/listen/icmpdump.c +++ b/listen/icmpdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/icmpdump.c,v 1.2 2001/09/12 13:18:44 terry Exp $ */ - /* ICMP header tracing * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/ipdump.c b/listen/ipdump.c index 8dfc433..dcdec64 100644 --- a/listen/ipdump.c +++ b/listen/ipdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/ipdump.c,v 1.2 2001/09/12 13:18:44 terry Exp $ */ - /* IP header tracing routines * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/kissdump.c b/listen/kissdump.c index 14c7909..53550c7 100644 --- a/listen/kissdump.c +++ b/listen/kissdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/kissdump.c,v 1.2 2001/09/12 13:18:44 terry Exp $ */ - /* Tracing routines for KISS TNC * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/nrdump.c b/listen/nrdump.c index b813633..17c5b2f 100644 --- a/listen/nrdump.c +++ b/listen/nrdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/nrdump.c,v 1.4 2009/06/14 08:48:52 ralf Exp $ */ - /* NET/ROM header tracing routines * Copyright 1991 Phil Karn, KA9Q * diff --git a/listen/tcpdump.c b/listen/tcpdump.c index 23c9686..9bc7e16 100644 --- a/listen/tcpdump.c +++ b/listen/tcpdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/tcpdump.c,v 1.2 2001/09/12 13:18:44 terry Exp $ */ - /* TCP header tracing routines * Copyright 1991 Phil Karn, KA9Q */ diff --git a/listen/udpdump.c b/listen/udpdump.c index f80a134..3f9633b 100644 --- a/listen/udpdump.c +++ b/listen/udpdump.c @@ -1,5 +1,3 @@ -/* @(#) $Header: /home/ax25-cvs/ax25-apps/listen/udpdump.c,v 1.2 2001/09/12 13:18:44 terry Exp $ */ - /* UDP packet tracing * Copyright 1991 Phil Karn, KA9Q */ |