olsrd.git
5 days agoinfo: java: update workspace master
Ferry Huberts [Fri, 16 Aug 2019 21:04:12 +0000 (23:04 +0200)]
info: java: update workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
11 days agoUpdate version after branch of v0.9.8
Ferry Huberts [Sun, 11 Aug 2019 08:08:50 +0000 (10:08 +0200)]
Update version after branch of v0.9.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
11 days agoBranch v0.9.8
Ferry Huberts [Sun, 11 Aug 2019 08:08:50 +0000 (10:08 +0200)]
Branch v0.9.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 weeks agogradle: upgrade wrapper
Ferry Huberts [Tue, 2 Jul 2019 18:45:32 +0000 (20:45 +0200)]
gradle: upgrade wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.5

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoredhat: completely rewritten RPM spec file and generation
Ferry Huberts [Wed, 14 Feb 2018 16:34:57 +0000 (17:34 +0100)]
redhat: completely rewritten RPM spec file and generation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agobuild: add NORPATH option
Ferry Huberts [Fri, 10 May 2019 20:27:04 +0000 (22:27 +0200)]
build: add NORPATH option

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoolsrd: install extra (documentation) files
Ferry Huberts [Fri, 17 May 2019 15:58:59 +0000 (17:58 +0200)]
olsrd: install extra (documentation) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agowatchdog: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:36 +0000 (19:21 +0200)]
watchdog: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agotxtinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:30 +0000 (19:21 +0200)]
txtinfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agosgwdynspeed: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:21:19 +0000 (19:21 +0200)]
sgwdynspeed: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agosecure: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:20:55 +0000 (19:20 +0200)]
secure: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoquagga: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 17:20:44 +0000 (19:20 +0200)]
quagga: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:56:07 +0000 (18:56 +0200)]
pud: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopoprouting: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:48 +0000 (18:24 +0200)]
poprouting: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopgraph: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:41 +0000 (18:24 +0200)]
pgraph: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agop2pd: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:34 +0000 (18:24 +0200)]
p2pd: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agonetjson: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:26 +0000 (18:24 +0200)]
netjson: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agonameservice: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:18 +0000 (18:24 +0200)]
nameservice: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agomini: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:09 +0000 (18:24 +0200)]
mini: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agomdns: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:24:02 +0000 (18:24 +0200)]
mdns: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agojsoninfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:56 +0000 (18:23 +0200)]
jsoninfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:49 +0000 (18:23 +0200)]
info: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agohttpinfo: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:42 +0000 (18:23 +0200)]
httpinfo: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodyngw_plain: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:35 +0000 (18:23 +0200)]
dyngw_plain: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodyngw: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:23:26 +0000 (18:23 +0200)]
dyngw: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodotdraw: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:22:57 +0000 (18:22 +0200)]
dotdraw: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agobmf: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:22:45 +0000 (18:22 +0200)]
bmf: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoarprefresh: install extra (documention) files
Ferry Huberts [Fri, 17 May 2019 16:00:09 +0000 (18:00 +0200)]
arprefresh: install extra (documention) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agowatchdog: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:59 +0000 (23:01 +0200)]
watchdog: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agosgwdynspeed: rename readme file
Ferry Huberts [Fri, 17 May 2019 18:00:18 +0000 (20:00 +0200)]
sgwdynspeed: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agosecure: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:46 +0000 (23:01 +0200)]
secure: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoquagga: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:39 +0000 (23:01 +0200)]
quagga: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: wireformat: java: fix JDK detection
Ferry Huberts [Tue, 11 Jun 2019 18:41:31 +0000 (20:41 +0200)]
pud: wireformat: java: fix JDK detection

So that it also works on newer JDKs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: wireformat-java: update the readme file
Ferry Huberts [Fri, 17 May 2019 18:16:20 +0000 (20:16 +0200)]
pud: wireformat-java: update the readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: wireformat-java: rename readme file
Ferry Huberts [Fri, 17 May 2019 17:46:18 +0000 (19:46 +0200)]
pud: wireformat-java: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: nmealib: rename readme file
Ferry Huberts [Fri, 17 May 2019 17:46:00 +0000 (19:46 +0200)]
pud: nmealib: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:32 +0000 (17:43 +0200)]
pud: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopud: fix permissions of pud.odt document
Ferry Huberts [Sat, 18 May 2019 15:16:39 +0000 (17:16 +0200)]
pud: fix permissions of pud.odt document

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agopoprouting: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:31 +0000 (23:01 +0200)]
poprouting: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agop2pd: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:24 +0000 (17:43 +0200)]
p2pd: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agonameservice: fixup some text
Ferry Huberts [Fri, 17 May 2019 15:42:24 +0000 (17:42 +0200)]
nameservice: fixup some text

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agomdns: rename readme file
Ferry Huberts [Fri, 17 May 2019 15:43:14 +0000 (17:43 +0200)]
mdns: rename readme file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoinfo: java: comment out maven repository artifacts
Ferry Huberts [Sun, 9 Jun 2019 10:44:06 +0000 (12:44 +0200)]
info: java: comment out maven repository artifacts

Otherwise gradle will try to download them during a build, and they're
only here for utility when upgrading these artifacts.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoinfo: java: add install/uninstall targets
Ferry Huberts [Fri, 17 May 2019 15:56:57 +0000 (17:56 +0200)]
info: java: add install/uninstall targets

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agoinfo: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:23 +0000 (23:01 +0200)]
info: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agohttpinfo: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:01:15 +0000 (23:01 +0200)]
httpinfo: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodyngw: tighten up README
Ferry Huberts [Mon, 17 Jun 2019 21:00:59 +0000 (23:00 +0200)]
dyngw: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodotdraw: remove a duplicate file
Ferry Huberts [Fri, 17 May 2019 17:41:09 +0000 (19:41 +0200)]
dotdraw: remove a duplicate file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agodotdraw: fix a typo
Ferry Huberts [Fri, 17 May 2019 15:40:47 +0000 (17:40 +0200)]
dotdraw: fix a typo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agobmf: tighten up README
Ferry Huberts [Sun, 16 Jun 2019 11:02:34 +0000 (13:02 +0200)]
bmf: tighten up README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agofiles: use explicit paths for plugins
Ferry Huberts [Mon, 17 Jun 2019 05:22:27 +0000 (07:22 +0200)]
files: use explicit paths for plugins

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 months agofiles: fix a shebang
Ferry Huberts [Fri, 17 May 2019 15:41:35 +0000 (17:41 +0200)]
files: fix a shebang

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 months agoMerge branch 'release-0.9.7'
Ferry Huberts [Sat, 11 May 2019 19:53:05 +0000 (21:53 +0200)]
Merge branch 'release-0.9.7'

* release-0.9.7:
  Update version after release of v0.9.7
  Release v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 months agoall: fix suppress string termination warnings
Ferry Huberts [Thu, 2 May 2019 19:11:02 +0000 (21:11 +0200)]
all: fix suppress string termination warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 months agopud: fix the build against libgpsd 3.18
Ferry Huberts [Thu, 2 May 2019 18:36:46 +0000 (20:36 +0200)]
pud: fix the build against libgpsd 3.18

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 months agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Thu, 2 May 2019 19:16:48 +0000 (21:16 +0200)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.4.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoREADME-Debian-package: Update build instructions
pmelange [Wed, 31 Oct 2018 09:01:12 +0000 (10:01 +0100)]
README-Debian-package: Update build instructions

Update the build instructions to use the maintained debian catalog

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
5 months agopud: wireformat: java: build for Java 1.8
Ferry Huberts [Wed, 20 Mar 2019 11:32:34 +0000 (12:32 +0100)]
pud: wireformat: java: build for Java 1.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agowindows: fix the 64 bit builds on the latest mingw
Ferry Huberts [Wed, 20 Mar 2019 09:06:12 +0000 (10:06 +0100)]
windows: fix the 64 bit builds on the latest mingw

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoinfo: java: use latest jackson bundles
Ferry Huberts [Wed, 20 Mar 2019 08:25:34 +0000 (09:25 +0100)]
info: java: use latest jackson bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoinfo: java: upgrade workspace
Ferry Huberts [Wed, 20 Mar 2019 08:22:16 +0000 (09:22 +0100)]
info: java: upgrade workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Mon, 18 Mar 2019 15:11:18 +0000 (16:11 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 5.2.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoinfo: java: upgrade workspace
Ferry Huberts [Mon, 18 Mar 2019 15:10:30 +0000 (16:10 +0100)]
info: java: upgrade workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoMake ldconfig configurable
Fabrice Fontaine [Mon, 11 Mar 2019 20:36:13 +0000 (21:36 +0100)]
Make ldconfig configurable

In a cross-compilation set up, running /sbin/ldconfig is useless, so
we make the path to ldconfig configurable through the environment/make
command line. This allows to pass LDCONFIG=/bin/true when doing
cross-compilation.

[Gustavo: update patch for olsr 0.6.4]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/olsr/0001-configurable-ldconfig.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
5 months agoUpdate version after release of v0.9.7 release-0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:12:09 +0000 (09:12 +0100)]
Update version after release of v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoRelease v0.9.7 v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:12:04 +0000 (09:12 +0100)]
Release v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoUpdate version after branch of v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:10:15 +0000 (09:10 +0100)]
Update version after branch of v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agoBranch v0.9.7
Ferry Huberts [Wed, 6 Mar 2019 08:10:15 +0000 (09:10 +0100)]
Branch v0.9.7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 months agocorrectly report silent mode on olsrd startup summary
pocki80 [Tue, 5 Mar 2019 07:24:16 +0000 (08:24 +0100)]
correctly report silent mode on olsrd startup summary

14 months agorouting: remove rt_entry.rt_best pointer when rt_path is deleted (#61)
iwanovich [Wed, 23 May 2018 21:04:18 +0000 (23:04 +0200)]
routing: remove rt_entry.rt_best pointer when rt_path is deleted (#61)

routing: remove rt_entry.rt_best pointer when rt_path is deleted

When rt_path is free'd from memory, references to it should be deleted.

Checking all rt_entry structs for rt_best pointers to the rt_path
that is to be deleted and nullify the pointer. Not doing so might
lead to segfaults.

Signed-off-by: Iwan G. Flameling <iwanovich@gmail.com>
15 months agopoprouting: fix memory leak in isCommand
Ferry Huberts [Thu, 3 May 2018 18:39:03 +0000 (20:39 +0200)]
poprouting: fix memory leak in isCommand

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agopoprouting: format code
Ferry Huberts [Thu, 3 May 2018 18:37:54 +0000 (20:37 +0200)]
poprouting: format code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agoPoprouting plugin for OLSRd (#53)
Gabriel [Thu, 3 May 2018 11:56:22 +0000 (13:56 +0200)]
Poprouting plugin for OLSRd (#53)

* Poprouting plugin for OLSRd

* reverted changes to get_plugin_parameters

15 months agosecure: fix GCC 8 compilation problems
Ferry Huberts [Tue, 1 May 2018 20:49:42 +0000 (22:49 +0200)]
secure: fix GCC 8 compilation problems

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agodyn_gw: fix GCC 8 compilation problems
Ferry Huberts [Tue, 1 May 2018 20:49:31 +0000 (22:49 +0200)]
dyn_gw: fix GCC 8 compilation problems

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agointerfaces: add 'silent' mode
Christoph Loesch [Sun, 11 Feb 2018 22:37:30 +0000 (23:37 +0100)]
interfaces: add 'silent' mode

When enabled, the interface will not retransmit TC messages.
Intended usage is for VPN tunnels.
Created by Markus Kittenberger.

Signed-Off-By: Christoph Loesch <mail@chil.at>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agohttpinfo: ensure timers are set to NULL after calling olsr_stop_timer
Ferry Huberts [Thu, 26 Apr 2018 15:09:15 +0000 (17:09 +0200)]
httpinfo: ensure timers are set to NULL after calling olsr_stop_timer

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
15 months agoall: ensure timers are set to NULL after calling olsr_stop_timer
Ferry Huberts [Wed, 25 Apr 2018 06:50:04 +0000 (08:50 +0200)]
all: ensure timers are set to NULL after calling olsr_stop_timer

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
17 months agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Wed, 28 Feb 2018 21:44:53 +0000 (22:44 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 4.6

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
18 months agoinfo.java: remove date and hosts fields.
Ferry Huberts [Tue, 30 Jan 2018 20:52:05 +0000 (21:52 +0100)]
info.java: remove date and hosts fields.

These were removed in d781d12.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
18 months agoall: remove build_host and build_date to enable reproducible building
Reiner Herrmann [Sun, 15 Oct 2017 10:56:56 +0000 (12:56 +0200)]
all: remove build_host and build_date to enable reproducible building

The hostname and date/time varies from system to system, so it is
not possible to reproduce the binary when this data is embedded.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
18 months agoall: make sure all make filelists are sorted
Reiner Herrmann [Sun, 15 Oct 2017 10:43:14 +0000 (12:43 +0200)]
all: make sure all make filelists are sorted

Originally by Reiner, adjusted by Ferry to sort all filelists.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
18 months agoMerge pull request #49 from wiedi/osx-clock-10.12
Ferry Huberts [Tue, 30 Jan 2018 20:03:31 +0000 (21:03 +0100)]
Merge pull request #49 from wiedi/osx-clock-10.12

mach: clock_gettime and friends appeared in Mac OSX 10.12

18 months agomach: clock_gettime and friends appeared in Mac OSX 10.12 49/head
Sebastian Wiedenroth [Tue, 30 Jan 2018 19:25:14 +0000 (20:25 +0100)]
mach: clock_gettime and friends appeared in Mac OSX 10.12

Signed-off-by: Sebastian Wiedenroth <wiedi@frubar.net>
20 months agoinfo: fix the previous commit: windows doesn't support MSG_DONTWAIT
Ferry Huberts [Wed, 6 Dec 2017 17:03:40 +0000 (18:03 +0100)]
info: fix the previous commit: windows doesn't support MSG_DONTWAIT

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
20 months agoinfo: do not block when sending data
Henning Rogge [Wed, 6 Dec 2017 16:44:17 +0000 (17:44 +0100)]
info: do not block when sending data

Even though checks are done that we can actually send, the send
can still block.

Reported-By: Joe Ayers <joe@ayerscasa.com>
Signed-off-by: Henning Rogge <hrogge@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
20 months agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Wed, 6 Dec 2017 16:35:33 +0000 (17:35 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 4.4

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoprocess_routes: fix potential null pointer dereference warnings on gcc 7
Ferry Huberts [Tue, 21 Nov 2017 09:07:08 +0000 (10:07 +0100)]
process_routes: fix potential null pointer dereference warnings on gcc 7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agosrc: fix format truncation errors on gcc 7
Ferry Huberts [Tue, 21 Nov 2017 08:43:09 +0000 (09:43 +0100)]
src: fix format truncation errors on gcc 7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoolsr_spf: fix potential null pointer dereference warnings on gcc 7
Ferry Huberts [Tue, 21 Nov 2017 08:37:11 +0000 (09:37 +0100)]
olsr_spf: fix potential null pointer dereference warnings on gcc 7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agonameservice: fix potential null pointer dereference warnings on gcc 7
Ferry Huberts [Tue, 21 Nov 2017 08:36:03 +0000 (09:36 +0100)]
nameservice: fix potential null pointer dereference warnings on gcc 7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoall: link with -lm where <math.h> is included.
Ferry Huberts [Tue, 21 Nov 2017 07:05:59 +0000 (08:05 +0100)]
all: link with -lm where <math.h> is included.

Otherwise we'll get crashes on OpenWRT

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agohashing: fix implicit fall-through warning on gcc 7
Ferry Huberts [Tue, 21 Nov 2017 07:01:53 +0000 (08:01 +0100)]
hashing: fix implicit fall-through warning on gcc 7

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoinfo: java: use Java 1.8
Ferry Huberts [Sun, 5 Nov 2017 14:38:21 +0000 (15:38 +0100)]
info: java: use Java 1.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
21 months agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Sun, 5 Nov 2017 14:36:01 +0000 (15:36 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 4.3

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Wed, 9 Aug 2017 07:16:24 +0000 (09:16 +0200)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 4.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoinfo: java: upgrade workspace
Ferry Huberts [Thu, 27 Jul 2017 12:32:44 +0000 (14:32 +0200)]
info: java: upgrade workspace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2 years agoMerge pull request #32 from stspdotname/fix-sendto-ipv4
Ferry Huberts [Mon, 3 Jul 2017 21:04:59 +0000 (23:04 +0200)]
Merge pull request #32 from stspdotname/fix-sendto-ipv4

Fix olsr_sendto() for IPv4 on BSD.

2 years agoFix olsr_sendto() for IPv4 on BSD. 32/head
Stefan Sperling [Thu, 22 Jun 2017 16:28:55 +0000 (18:28 +0200)]
Fix olsr_sendto() for IPv4 on BSD.

Sending multicast packets requires the IP_MULTICAST_IF socket option.
Without this socket option, packets sent to 255.255.255.255 are dropped.

With this change, olsr_sendto() can become a direct call to sendto() and
the -DSPOOF workaround which relies on libnet to send packets is no
longer required.

Tested on OpenBSD.

Signed-off-by: Stefan Sperling <stsp@stsp.name>
2 years agoMerge pull request #37 from stspdotname/bcast-addr-len-and-type
Ferry Huberts [Mon, 3 Jul 2017 20:19:44 +0000 (22:19 +0200)]
Merge pull request #37 from stspdotname/bcast-addr-len-and-type

Fix initialization of a struct sockaddr_in.