summaryrefslogtreecommitdiffstats
path: root/ax25ipd
Commit message (Collapse)AuthorAgeFilesLines
* Remove parenthesis around arguments of return statements.Ralf Baechle2015-05-023-6/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use tabs for indentation, not spaces.Ralf Baechle2015-05-024-84/+84
| | | | 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-0210-40/+40
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing blank lines.Ralf Baechle2015-05-023-3/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix accidental termination of ax25ipd.Thomas Osterried2015-05-021-0/+20
| | | | | | | | | | ax25ipd sometimes terminated ("normaly") when the remote site (or a router on the way) sent an icmp unreachable. That's a problem with a positive error list (where every unknown error is interpreted as major problem); this makes the code unstable whenever new errno's are implemented in newer kernels.. Signed-off-by: Thomas Osterried <thomas@osterried.de>
* ax25ipd: Make LOGx() macros bulletproof.Ralf Baechle2013-06-173-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The LOGL1..LOGL4 macros were defined like: Now consider an invocation like: if (condition) LOGL1(...); else something_different(); CPP will expand this like: if (condition) if (loglevel>0) syslog(LOG_DAEMON | LOG_WARNING, ...); else something_different(); That is the else would now be considered associated with the wrong if. Macro arguments may also not have been evaluated on every invocation making the use of these function-like looking macros not function like. For example: LOGL1("%d", i++); would be expanded to if (loglevel>0) syslog(LOG_DAEMON | LOG_WARNING, i++); That is depending on the value of loglevel i++ would only be incremented if syslog was actually being called. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Kill a ton of useless casts to char * all over the code.Ralf Baechle2013-06-172-12/+15
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25ipd: Remove useless casts of inet_ntoa() return values to char *.Ralf Baechle2013-06-161-4/+4
| | | | | | inet_ntoa() already returns char *. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* ax25ipd: Fix metric butload of type aliasing bugs.Ralf Baechle2013-06-161-7/+8
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Weed out all use of RCS strings.Ralf Baechle2013-06-051-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>
* 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/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert .cvsignore files to .gitignoreRalf Baechle2013-06-041-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove generated man pages on make distclean.Ralf Baechle2013-06-041-0/+1
|
* 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-2/+2
|
* axudp: make "udp <portnumber>" in "route call ip udp port" obsolete; useThomas Osterried2012-02-012-1/+16
| | | | | the port configured with "socket udp <port>"; but you could still specify another port with "route call ip udp anotherPort".
* Fix man page generation.Ralf Baechle2012-01-101-2/+2
| | | | | | | | 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-113-16/+36
| | | | | The config files are unaffected; if you need to resolve a name conflict for the config files, use --sysconfdir=/etc and --localstatedir=/var.
* ax25ipd: Mark reference to ax25ipd.conf as part of man page section 5.Ralf Baechle2011-12-111-1/+1
|
* Ignore a few more generated files.Ralf Baechle2009-06-191-0/+1
|
* Remove all generated files.Ralf Baechle2009-06-191-613/+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-141-1/+1
| | | | | | | | 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.
* Eleminate use of register keywordRalf Baechle2009-06-142-2/+2
| | | | | Any modern C compiler will just ignore register so it's just cluttering the screen.
* Convert K&R-style function definitions to function prototypes.Ralf Baechle2009-06-147-89/+46
|
* Added some includes. This fixes compilation problems in gentoo,Thomas Osterried2009-04-222-2/+2
| | | | and warnings.
* fix in helpThomas Osterried2009-02-011-6/+6
|
* small fix.Thomas Osterried2009-01-311-0/+3
|
* Better integration in unix98 PTY environments.Thomas Osterried2009-01-314-29/+50
| | | | | | Revised the getopt_long() part. Assured strcpy cases. Thanks to Christoph <dk2crn> for contribution.
* updated author's addressThomas Osterried2009-01-302-2/+2
|
* contact updateThomas Osterried2009-01-192-2/+2
|
* PATH_MAX: linux include standard has changed.Thomas Osterried2008-12-211-1/+2
| | | | now we need to include limits.h
* typoThomas Osterried2008-10-112-2/+2
|
* Support for unix98 ptys ("/dev/ptmx"). Thanks to dk2crn.Thomas Osterried2008-10-115-3/+59
|
* io.c: WRITE to TTY returns -1 EAGAINThomas Osterried2008-04-131-0/+13
| | | | | if ttyqueue is full. The behaviour to give up here was wrong.
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-232-18/+28
| | | | pointless comments.
* Convert to autoconf 2.59. Delete junk from past centuries.Ralf Baechle2007-01-221-192/+316
|
* Added documention how to configure bpqether interfaces.Thomas Osterried2006-10-051-1/+35
|
* Bugfix: --nofork worked well, but -f not. A break was missing..Thomas Osterried2006-10-041-0/+1
|
* io.c: io_error(): patch from testing upstream version.Thomas Osterried2006-06-102-17/+41
| | | | fixes problem that it tends to terminate even if it need not to
* gcc4.0 sucksThomas Osterried2005-12-091-1/+1
|
* - make compiler happyThomas Osterried2005-10-311-5/+3
|
* - tun/tap support for ax25ipdThomas Osterried2005-10-3010-10/+417
| | | | | | | | | | | - fclose() fix in config.c description of tun/tap: added a new fast and efficient link to the linux kernel ax25 stack, via the ethertap interface. ax25 goes directly to the bpqether interface in the kernel via ethertap/tuntap interfaces, which is a much better way than traditional kissattach to a ttyp/ptyp pair.
* #include <time.h> in io.cMichael Taylor2004-12-122-6/+7
| | | | tidy options struct initalization
* use AM_CFLAGS rather than CFLAGSMichael Taylor2004-12-121-1/+1
|
* Added opentrac to listenCraig Small2004-02-041-234/+243
| | | | More autobbreak updating nightmares
* changed fd_set variables around so no clashax25-apps-0.0.6Craig Small2002-03-041-2/+2
|
* Steve Frasers patch for ssid matching in ax25ipdCraig Small2002-01-121-1/+1
|
* remerged with terry indentsCraig Small2001-11-271-0/+4
|