summaryrefslogtreecommitdiffstats
path: root/ax25rtd
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling of Klaus Kudielka OE1KIB's first name.Ralf Baechle2021-07-283-3/+3
| | | | | | | | | The misspelling was first introduced in ax25-apps 0.0.3 from 1999-08-10, then copied around the tree. Sorry Klaus! Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* treewide: Update all references to the FSF's address.Ralf Baechle2019-04-117-7/+14
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25rtd: Fix mismatch between code and documentation.Ralf Baechle2019-03-274-13/+13
| | | | | | | | Documentation and some comments were refering to /var/ax25/ax25rtd/- ax25_routes rsp. /var/ax25/ax25rtd/ip_routes while the actual code was using ax25_route rsp. ip_route, that is without plural 's'. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* treewide: Kill assignments in if conditions.Ralf Baechle2017-08-033-15/+26
| | | | | | | | | | | | | | | | | | | Somewhat hard to read and the code base already has many overlong lines Found with below spatch files: @parens@ expression E, F, G; binary operator X; statement S; @@ - if ((E = F) X G) + E = F; + if (E X G) S Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25rtd: Mention all files used in files section of man page.Ralf Baechle2017-07-281-0/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25rtd: Spelling fix: recomment -> recommendRalf Baechle2017-07-282-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Compress multiple blank lines into single lines.Ralf Baechle2017-07-255-11/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sort out variable and function declarations.Ralf Baechle2017-01-314-11/+11
| | | | | | | | | | - Make static what can be made static. - Add declaration where they were missing. - Don't define variables in headers. - Move declaations to the proper locations. - Pick up declarations from the proper headers. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix further abuse of 0 as NULL pointer.Ralf Baechle2017-01-311-12/+12
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25rtd: Delete useless declaration of variable Version.Ralf Baechle2017-01-231-2/+0
| | | | | | There only is a declaration, no definition. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25rtd: Fix signedness compiler warnings.Ralf Baechle2015-06-085-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making all in ax25rtd make[2]: Entering directory '/home/ralf/src/ax25/ax25-apps/ax25rtd' [...] gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT cache_ctl.o -MD -MP -MF .deps/cache_ctl.Tpo -c -o cache_ctl.o cache_ctl.c cache_ctl.c: In function ‘update_ip_route’: cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:55:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c:109:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c: In function ‘update_ax25_route’: cache_ctl.c:133:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *iface = config->dev; ^ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(bp->iface, iface)) { ^ cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:142:27: warning: pointer targets in passing argument 1 of ‘del_kernel_ax25_route’ differ in signedness [-Wpointer-sign] del_kernel_ax25_route(bp->iface, ^ In file included from cache_ctl.c:28:0: ax25rtd.h:140:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int del_kernel_ax25_route(char *dev, ax25_address *call); ^ cache_ctl.c:145:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c:145:23: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c:197:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c:197:20: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bp->iface, iface); ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:129:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ cache_ctl.c: In function ‘remove_ip_route’: cache_ctl.c:231:22: warning: pointer targets in passing argument 1 of ‘del_kernel_ip_route’ differ in signedness [-Wpointer-sign] del_kernel_ip_route(bp->iface, bp->ip); ^ In file included from cache_ctl.c:28:0: ax25rtd.h:139:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int del_kernel_ip_route(char *dev, long ip); ^ cache_ctl.c: In function ‘remove_ax25_route’: cache_ctl.c:255:24: warning: pointer targets in passing argument 1 of ‘del_kernel_ax25_route’ differ in signedness [-Wpointer-sign] del_kernel_ax25_route(bp->iface, &bp->call); ^ In file included from cache_ctl.c:28:0: ax25rtd.h:140:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int del_kernel_ax25_route(char *dev, ax25_address *call); ^ cache_ctl.c: In function ‘del_ax25_route’: cache_ctl.c:297:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:297:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ In file included from cache_ctl.c:21:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] && !strcmp(config->dev, bp->iface)) { ^ cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ [...] gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT cache_dump.o -MD -MP -MF .deps/cache_dump.Tpo -c -o cache_dump.o cache_dump.c cache_dump.c: In function ‘dump_ip_routes’: cache_dump.c:48:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = bp->iface; ^ cache_dump.c:51:28: warning: pointer targets in passing argument 1 of ‘dev_get_config’ differ in signedness [-Wpointer-sign] config = dev_get_config(bp->iface); ^ In file included from cache_dump.c:33:0: ax25rtd.h:147:10: note: expected ‘char *’ but argument is of type ‘unsigned char *’ config * dev_get_config(char *dev); ^ cache_dump.c:55:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = bp->iface; ^ cache_dump.c: In function ‘dump_ax25_routes’: cache_dump.c:92:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = bp->iface; ^ cache_dump.c:95:28: warning: pointer targets in passing argument 1 of ‘dev_get_config’ differ in signedness [-Wpointer-sign] config = dev_get_config(bp->iface); ^ In file included from cache_dump.c:33:0: ax25rtd.h:147:10: note: expected ‘char *’ but argument is of type ‘unsigned char *’ config * dev_get_config(char *dev); ^ cache_dump.c:99:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dev = bp->iface; ^ [...] gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c config.c: In function ‘interpret_command’: config.c:554:22: warning: pointer targets in passing argument 1 of ‘prepare_cmdline’ differ in signedness [-Wpointer-sign] p = prepare_cmdline(buf); ^ config.c:68:7: note: expected ‘char *’ but argument is of type ‘unsigned char *’ char *prepare_cmdline(char *buf) ^ config.c: In function ‘load_cache’: config.c:687:25: warning: pointer targets in passing argument 2 of ‘interpret_command’ differ in signedness [-Wpointer-sign] interpret_command(2, buf); ^ config.c:544:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void interpret_command(int fd, unsigned char *buf) ^ config.c:695:25: warning: pointer targets in passing argument 2 of ‘interpret_command’ differ in signedness [-Wpointer-sign] interpret_command(2, buf); ^ config.c:544:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void interpret_command(int fd, unsigned char *buf) ^ [...] gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT ax25rtctl.o -MD -MP -MF .deps/ax25rtctl.Tpo -c -o ax25rtctl.o ax25rtctl.c ax25rtctl.c: In function ‘main’: ax25rtctl.c:320:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] len = sprintf(buf, "add ax25"); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:322:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] len += sprintf(buf + len, " %s", argv[k]); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:323:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(buf + len, "\n"); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:326:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign] wsock(sock, buf); ^ ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int wsock(int sock, char *s) ^ ax25rtctl.c:332:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] len = sprintf(buf, "add ip"); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:334:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] len += sprintf(buf + len, " %s", argv[k]); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:335:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(buf + len, "\n"); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:338:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign] wsock(sock, buf); ^ ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int wsock(int sock, char *s) ^ ax25rtctl.c:348:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(buf, "del ax25 %s %s\n", argv[optind], ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:352:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign] wsock(sock, buf); ^ ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int wsock(int sock, char *s) ^ ax25rtctl.c:358:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(buf, "del ip %s\n", argv[optind]); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:361:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign] wsock(sock, buf); ^ ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int wsock(int sock, char *s) ^ ax25rtctl.c:379:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(buf, "expire %ld\n", when); ^ In file included from ax25rtctl.c:20:0: /usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern int sprintf (char *__restrict __s, ^ ax25rtctl.c:380:15: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign] wsock(sock, buf); ^ ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int wsock(int sock, char *s) ^ [...] make[2]: Leaving directory '/home/ralf/src/ax25/ax25-apps/ax25rtd' Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* automake: Replace use of deprecated automake macro INCLUDES.Ralf Baechle2015-05-171-2/+2
| | | | | | | | | | | | | This fixes the automake warnings: Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ax25ipd/Makefile.am:58: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ax25mond/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ax25rtd/Makefile.am:89: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') INCLUDES has been deprecated since automake 1.5. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reformat consistently. Strictly whitespace changes only.Ralf Baechle2015-05-021-1/+1
| | | | | | | Indentation by tabs only. Move case labels in switches are on the same level as the switch keyword. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use tabs for indentation, not spaces.Ralf Baechle2015-05-024-6/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless initializations to 0 or NULL.Ralf Baechle2015-05-021-4/+4
| | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2015-05-029-54/+54
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Kill a ton of useless casts to char * all over the code.Ralf Baechle2013-06-171-3/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless test that is always evaluated as true.Ralf Baechle2013-06-171-2/+2
| | | | | | | | | | | gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_ LOCALSTATEDIR=\""/usr/local/var/ax25"\" -O2 -Wall -Wno-pointer-sign -MT list ener.o -MD -MP -MF .deps/listener.Tpo -c -o listener.o listener.c listener.c: In function ‘set_route’: listener.c:232:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress] listener.c: In function ‘del_kernel_ip_route’: listener.c:278:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress] Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Weed out all use of RCS strings.Ralf Baechle2013-06-057-18/+9
| | | | | | | Their value has always been dubious and git doesn't support them so let's get rid of the clutter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove all definitions of docdir from makefiles.Ralf Baechle2013-06-041-1/+0
| | | | | | | This may result in docfiles getting installed in ${prefix}/doc/, not ${prefix}/share/doc which is the convention. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Ignore even more generated files.Ralf Baechle2013-06-041-4/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert .cvsignore files to .gitignoreRalf Baechle2013-06-041-0/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove generated man pages on make distclean.Ralf Baechle2013-06-041-0/+3
|
* Include man page source files in generated dist archives.Ralf Baechle2013-06-041-1/+1
|
* Fix build of man pages when building in a separate build directory.Ralf Baechle2013-06-041-3/+3
|
* Fix man page generation.Ralf Baechle2012-01-101-4/+4
| | | | | | | | Since the recent conversion from static to generated man pages some man pages were generated with a wrong section suffix which was breaking installation. Noticed and fixed by Steffen Köhler <sk4@mail.zih.tu-dresden.de>.
* Apply program name transformations also to remaining man page content.Ralf Baechle2011-12-114-33/+81
| | | | | The config files are unaffected; if you need to resolve a name conflict for the config files, use --sysconfdir=/etc and --localstatedir=/var.
* Convert spelling of Joerg Reuter's name from umlaut to oe.Ralf Baechle2009-06-2710-19/+19
| | | | | In a world that is caught between ISO 8859-1, ISO 8859-15 and UTF-8 non-ASCII characters are a guaranteed mess, still.
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-215-32/+8
| | | | | | Glibc as old as 2.2 provides working headers under the right name and if not libax25 would install headers under the right name so this has become redundant and ugly.
* Ignore a few more generated files.Ralf Baechle2009-06-191-0/+1
|
* Remove all generated files.Ralf Baechle2009-06-191-619/+0
| | | | | | | | | | | | | | Keeping generated files in CVS doesn't only tend to produce large and cluttered files it also may result in build problems due to timestamps in the wrong order. So dump everything, update .cvsignore to ignore these files and resolve all warnings generated by autoreconf. From now on users of a CVS checkout should run the command autoreconf --install --force after having done a CVS checkout. For this to succeed automake, autoconf and libtool will have to be installed.
* Fix type of length argument to sockset syscalls.Ralf Baechle2009-06-142-6/+7
| | | | | | | | Various socket syscalls receive a length argument that should be a socklen_t rsp. a ptr to a socklen_t but instead int rsp. ptr to int were being passed. While in theory this was a bug it's harmless as dangerously large values would not be used but the issue manifested itself in a significant number of compilation warnings.
* Convert K&R-style function definitions to function prototypes.Ralf Baechle2009-06-141-2/+2
|
* Fix for autoconf. Thanks to Tom <DL1JBE>Thomas Osterried2008-08-031-1/+1
|
* Convert to autoconf 2.59. Delete junk from past centuries.Ralf Baechle2007-01-222-4/+8
|
* - documentation (ax25rtd.8, ax25rtd.conf.5, ax25rtctl.8)Thomas Osterried2006-10-0510-281/+800
| | | | - new feature: advanced routing option
* fix: /var/ax25/ax25rtd/ was not created with "make installconf"Thomas Osterried2006-10-041-0/+5
|
* ax25-maxroutes and ip-maxroutes now defaults do 4096Thomas Osterried2006-10-041-2/+2
|
* Increased values of IP_MAXROUTES and AX25_MAXROUTES from 256 to 4096Thomas Osterried2006-10-042-213/+226
|
* fix: /var/ax25/ax25rtd/ was not created with "make installconf"Thomas Osterried2006-10-043-0/+6
|
* - config.c, listener.c:Thomas Osterried2005-10-273-6/+6
| | | | | | | | | | | | | | users of newer versions of ax25rtd have problems with the ip-encaps-dev feature (needed only in some environments). the problem was the implementation of the feature, which results in the obvious problem that after an upgrade ax25rtd will not learn any ip-routes and arp's. a secondary problem is, when you have more than one interface, ip-routes/arp's could be learned only via _one_ interface. - config.c: ip-maxroutes was ignored - ax25rtd.conf: s/ax24/ax25/
* Added opentrac to listenCraig Small2004-02-041-220/+218
| | | | More autobbreak updating nightmares
* used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.cMichael Taylor2002-11-031-3/+3
|
* changed fd_set variables around so no clashax25-apps-0.0.6Craig Small2002-03-043-27/+30
|
* remerged with terry indentsCraig Small2001-11-272-22/+61
|
* Fixed ax25ipd conf file bug, small cosmetic changesTerry Dawson VK2KTJ2001-09-222-4/+4
|
* updated libtool, uniformly indented source, corrected small ax25mond ↵Terry Dawson VK2KTJ2001-09-127-850/+782
| | | | Makefile bug
* Initial revisionax25-apps-0.0.5p2Craig Small2001-04-1010-51/+112
|
* Import ax25-apps 0.0.3 from tarballax25-apps-0.0.3Ralf Baechle1999-08-1010-40/+86
|
* Import ax25-apps 0.0.2 from tarballax25-apps-0.0.2Ralf Baechle1999-07-084-28/+60
|