summaryrefslogtreecommitdiffstats
path: root/ax25/ax25d.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed spelling errors.HEADmasterThomas Osterried2023-05-131-1/+1
| | | | Signed-off-by: Thomas Osterried <dl9sau@darc.de>
* Fixed speeling errors in man pages and programs.Thomas Osterried2023-05-131-1/+1
| | | | | | | Author: colint@debian.org Author: Dave Hibberd <d@vehibberd.com> Signed-off-by: Daniele Forsi <iu5hkx@gmail.com> Signed-off-by: Thomas Osterried <dl9sau@darc.de>
* treewide: Update all references to the FSF's address.Ralf Baechle2019-04-111-1/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* treewide: Kill assignments in if conditions.Ralf Baechle2017-07-311-33/+67
| | | | | | | | | | | | | | | | | | | | Somewhat hard to read and the code base already has many overlong lines. Found with below spatch file and some manual editing in ax25/access.c to restore a comment lost by spatch. @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>
* ax25d: Fix use of 0 instead of NULL as a pointer value.Ralf Baechle2017-02-061-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25d: Reorder code to avoid the need for forward declarations.Ralf Baechle2017-02-061-461/+454
| | | | | | And then delete those now useless declarations. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25d: Make several functions static.Ralf Baechle2017-02-061-4/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add a git suffix to the version number used by all programs.Ralf Baechle2017-01-241-1/+2
| | | | | | | This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25/ax25d.c: Fix warning about set but unused variable.Ralf Baechle2015-06-071-12/+0
| | | | | | This is from dead code setting the no-op socket option AX25_IAMDIGI. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Merge branch 'master' of git://git.linux-ax25.org/pub/scm/ralf/ax25-toolsRalf Baechle2015-05-021-403/+403
|\ | | | | | | | | Conflicts: ax25/axspawn.c
| * Reformat consistently. Strictly whitespace changes only.Ralf Baechle2013-06-171-385/+385
| | | | | | | | | | | | | | 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>
| * Always have a space between if, for, switch, while and the following `('.Ralf Baechle2013-06-171-2/+2
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Use tabs for indentation, not spaces.Ralf Baechle2013-06-171-7/+7
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-171-1/+1
| | | | | | | | | | | | | | 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 Baechle2013-06-171-17/+17
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>Thomas Osterried2015-05-011-1/+1
|/ | | | | | | | | Security patch submitted by Jaroslav Skarvada <jskarvad@redhat.com> Netrom and ROSE Addresses are copied to Node. Room was enough for Netrom, but rose addresses returned by rose_ntoa() are one byte longer (a 10 bytes string plus null-termination) which lead to an buffer overflow.
* Weed out all use of RCS strings.Ralf Baechle2013-06-061-2/+0
| | | | | | | 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>
* Fix for CVE-2011-2910: check return status of setuid(), ..Thomas Osterried2011-08-181-6/+10
|
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-211-13/+1
| | | | | | 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.
* Fix type of length argument to sockset syscalls.Ralf Baechle2009-06-141-3/+3
| | | | | | | | 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-3/+3
|
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-231-5/+5
| | | | pointless comments.
* Fixed Length of NodeThomas Osterried2006-01-081-2/+2
| | | | | Here stood: static char Node[11]; /* Room for 'GB9ZZZ-15\0' */ ;))
* gcc4.0 is more pedantic than useful..Thomas Osterried2005-11-281-3/+3
|
* - better handling for IP mode VC connections (configurable viaThomas Osterried2005-10-301-31/+227
| | | | | | | | | ax25d.conf, see description in the header of ax25d.c) - due to a kernel bug in the ax25-stack, ax25d's accept() sometimes returns -ECONNABORTED, and ax25d never accepted new connections until kill -HUP or restart. on such an event, we'll re-read our config with ReadConfig() and obviously successfully re-obtain a valid listen-socket for that call on this interface.
* Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3Ralf Baechle1999-07-081-1/+1
|
* Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2Ralf Baechle1999-06-071-1/+14
|
* Import ax25-tools 0.0.1 from tarballax25-tools-0.0.1Ralf Baechle1999-04-211-0/+1195