olsrd.git
4 years agopud: doc: update the documentation
Ferry Huberts [Mon, 11 May 2015 13:56:48 +0000 (15:56 +0200)]
pud: doc: update the documentation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: do not send zero bandwidth sgw HNAs by default
Ferry Huberts [Fri, 8 May 2015 08:03:36 +0000 (10:03 +0200)]
sgw: do not send zero bandwidth sgw HNAs by default

Previously, setting the uplink and/or downlink speed to zero would
cause zero bandwidth HNAs to be sent.

This patch ensures that these HNAs will not be sent, only after the
bandwidth was non-zero and it has become zero will these HNAs be sent
(so only in the 'unannounce' window of the previous patch).

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: send sgw HNAs with zero bandwidth after local gw has gone away
Ferry Huberts [Fri, 8 May 2015 08:00:00 +0000 (10:00 +0200)]
sgw: send sgw HNAs with zero bandwidth after local gw has gone away

This is to improve sgw convergence speed in the mesh.

sgw HNAs with zero bandwidth are sent after the local default gateway
has gone away (it's bandwidth has become zero on either the uplink,
downlink or both) or its interface has gone down or disappeared.

These HNAs are only sent during the next 'HNA period' after which the
sending of these HNAs stops; this is the 'unannounce' window.

Each of the zero bandwidth HNAs has an adjusted vtime so that the actual
timeout of the original HNA on the receiver side doesn't change (within
the bound of the normal jittering of sending the HNAs).

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: immediately remove sgw HNAs with zero bandwidth
Ferry Huberts [Wed, 6 May 2015 12:04:44 +0000 (14:04 +0200)]
sgw: immediately remove sgw HNAs with zero bandwidth

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: do not write uplink/downlink speed directly
Ferry Huberts [Fri, 8 May 2015 07:55:53 +0000 (09:55 +0200)]
sgw: do not write uplink/downlink speed directly

So that we can keep a boolean on whether the speed is zero, which
is needed in a later patch.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoifnet: also store the HNA validity time in msec
Ferry Huberts [Fri, 1 May 2015 14:44:32 +0000 (16:44 +0200)]
ifnet: also store the HNA validity time in msec

For performance reasons in a later patch.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: update the status file when a sgw HNA is removed (multi-sgw mode only)
Ferry Huberts [Fri, 8 May 2015 12:09:31 +0000 (14:09 +0200)]
sgw: update the status file when a sgw HNA is removed (multi-sgw mode only)

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: implement HNA expiry
Ferry Huberts [Fri, 8 May 2015 11:30:34 +0000 (13:30 +0200)]
sgw: implement HNA expiry

HNA expiry wasn't implemented, making sgw in a dynamic
environment "rather" problematic.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: sgw HNAs are not considered normal HNAs during processing
Ferry Huberts [Fri, 8 May 2015 11:11:03 +0000 (13:11 +0200)]
sgw: sgw HNAs are not considered normal HNAs during processing

This has always been the case, just make it explicit.

Note that the sgw HNAs are kept in a (separate) avl tree,
while normal HNAs are kept in a (different) hash table.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: fix a typo in an assert
Ferry Huberts [Thu, 7 May 2015 13:06:04 +0000 (15:06 +0200)]
sgw: fix a typo in an assert

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: validity times are in 'me' format, convert them to msec first
Ferry Huberts [Fri, 1 May 2015 14:07:08 +0000 (16:07 +0200)]
jsoninfo: validity times are in 'me' format, convert them to msec first

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: olsr_modifiy_inetgw_netmask can choose between normal and zero bw
Ferry Huberts [Fri, 1 May 2015 08:19:53 +0000 (10:19 +0200)]
sgw: olsr_modifiy_inetgw_netmask can choose between normal and zero bw

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: extract appending a sgw HNA into its own function
Ferry Huberts [Fri, 24 Apr 2015 16:24:00 +0000 (18:24 +0200)]
sgw: extract appending a sgw HNA into its own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: fill HNA header in the same order as the fields in the packet
Ferry Huberts [Fri, 24 Apr 2015 13:09:09 +0000 (15:09 +0200)]
sgw: fill HNA header in the same order as the fields in the packet

Improves readability when comparing against a hex dump of
a captured packet.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agomantissa: add a function to query the minimum interval
Ferry Huberts [Wed, 29 Apr 2015 09:55:25 +0000 (11:55 +0200)]
mantissa: add a function to query the minimum interval

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agomantissa: fix a typo in a comment
Ferry Huberts [Wed, 29 Apr 2015 09:28:31 +0000 (11:28 +0200)]
mantissa: fix a typo in a comment

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: update the default effective configuration file to current state
Ferry Huberts [Thu, 30 Apr 2015 16:10:03 +0000 (18:10 +0200)]
files: update the default effective configuration file to current state

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: add a script to generate an effective configuration file
Ferry Huberts [Thu, 30 Apr 2015 18:05:22 +0000 (20:05 +0200)]
files: add a script to generate an effective configuration file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: remove lq and rfc effective config files
Ferry Huberts [Thu, 30 Apr 2015 16:01:57 +0000 (18:01 +0200)]
files: remove lq and rfc effective config files

These can easily be generated

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: add a README, explaining generation of effective config files
Ferry Huberts [Thu, 30 Apr 2015 16:00:49 +0000 (18:00 +0200)]
files: add a README, explaining generation of effective config files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: add configurations files corresponding to generated (txt) files
Ferry Huberts [Thu, 30 Apr 2015 15:51:52 +0000 (17:51 +0200)]
files: add configurations files corresponding to generated (txt) files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: rename the generated configuration files
Ferry Huberts [Thu, 30 Apr 2015 13:59:05 +0000 (15:59 +0200)]
files: rename the generated configuration files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: minor improvements to the commotion configuration file
Ferry Huberts [Thu, 30 Apr 2015 15:08:55 +0000 (17:08 +0200)]
files: minor improvements to the commotion configuration file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: minor improvements to the FunkFeuer configuration files
Ferry Huberts [Thu, 30 Apr 2015 13:57:17 +0000 (15:57 +0200)]
files: minor improvements to the FunkFeuer configuration files

Remove the minimal file, it effectively the same as the default
configuration.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agofiles: remove olsrd.conf.default.lq-fisheye
Ferry Huberts [Thu, 30 Apr 2015 13:40:24 +0000 (15:40 +0200)]
files: remove olsrd.conf.default.lq-fisheye

It's effectively the same as olsrd.conf.default.full

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of routing table priorities
Ferry Huberts [Thu, 30 Apr 2015 09:30:03 +0000 (11:30 +0200)]
cfgfile_gen: improve printing of routing table priorities

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of routing tables
Ferry Huberts [Thu, 30 Apr 2015 09:29:26 +0000 (11:29 +0200)]
cfgfile_gen: improve printing of routing tables

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of UseNiit
Ferry Huberts [Thu, 30 Apr 2015 09:28:15 +0000 (11:28 +0200)]
cfgfile_gen: improve printing of UseNiit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of SmartGatewayPolicyRoutingScript
Ferry Huberts [Thu, 30 Apr 2015 09:26:50 +0000 (11:26 +0200)]
cfgfile_gen: improve printing of SmartGatewayPolicyRoutingScript

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of SmartGatewayEgressInterfaces
Ferry Huberts [Thu, 30 Apr 2015 09:26:26 +0000 (11:26 +0200)]
cfgfile_gen: improve printing of SmartGatewayEgressInterfaces

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: update comments file SmartGatewayEgressFilePeriod
Ferry Huberts [Thu, 30 Apr 2015 09:25:57 +0000 (11:25 +0200)]
cfgfile_gen: update comments file SmartGatewayEgressFilePeriod

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of SmartGatewayEgressFile
Ferry Huberts [Thu, 30 Apr 2015 09:25:33 +0000 (11:25 +0200)]
cfgfile_gen: improve printing of SmartGatewayEgressFile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of SmartGatewayPrefix
Ferry Huberts [Thu, 30 Apr 2015 09:25:03 +0000 (11:25 +0200)]
cfgfile_gen: improve printing of SmartGatewayPrefix

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of MainIp
Ferry Huberts [Thu, 30 Apr 2015 09:24:26 +0000 (11:24 +0200)]
cfgfile_gen: improve printing of MainIp

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: improve printing of HNAs
Ferry Huberts [Thu, 30 Apr 2015 09:23:30 +0000 (11:23 +0200)]
cfgfile_gen: improve printing of HNAs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: print comments when the are no ipc_nets
Ferry Huberts [Thu, 30 Apr 2015 09:21:57 +0000 (11:21 +0200)]
cfgfile_gen: print comments when the are no ipc_nets

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: add some comments to the generated configuration file
Ferry Huberts [Thu, 30 Apr 2015 09:20:45 +0000 (11:20 +0200)]
cfgfile_gen: add some comments to the generated configuration file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: fix default for RtProto
Ferry Huberts [Thu, 30 Apr 2015 09:39:13 +0000 (11:39 +0200)]
cfgfile_gen: fix default for RtProto

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: make sure to print IPv6Src as an IPv6 prefix
Ferry Huberts [Wed, 29 Apr 2015 17:15:34 +0000 (19:15 +0200)]
cfgfile_gen: make sure to print IPv6Src as an IPv6 prefix

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: better LinkQualityMult examples
Ferry Huberts [Wed, 29 Apr 2015 17:14:00 +0000 (19:14 +0200)]
cfgfile_gen: better LinkQualityMult examples

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfgfile_gen: whitespace and typo fixes
Ferry Huberts [Wed, 29 Apr 2015 17:07:57 +0000 (19:07 +0200)]
cfgfile_gen: whitespace and typo fixes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocfg: make sure lockfile has a default as specified in the cfg file
Ferry Huberts [Wed, 29 Apr 2015 16:57:32 +0000 (18:57 +0200)]
cfg: make sure lockfile has a default as specified in the cfg file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoipcalc: fix a double slash for IPv6 in olsr_ip_prefix_to_string
Ferry Huberts [Wed, 29 Apr 2015 16:52:01 +0000 (18:52 +0200)]
ipcalc: fix a double slash for IPv6 in olsr_ip_prefix_to_string

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: move the config sample into the readme
Ferry Huberts [Wed, 29 Apr 2015 16:59:36 +0000 (18:59 +0200)]
pud: move the config sample into the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agotxtinfo: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:57:55 +0000 (18:57 +0200)]
txtinfo: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosecure: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:59:12 +0000 (18:59 +0200)]
secure: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:59:01 +0000 (18:59 +0200)]
jsoninfo: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agohttpinfo: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:58:07 +0000 (18:58 +0200)]
httpinfo: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agodyngw_plain: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:58:36 +0000 (18:58 +0200)]
dyngw_plain: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agodyngw: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:58:22 +0000 (18:58 +0200)]
dyngw: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoarprefresh: update the readme
Ferry Huberts [Wed, 29 Apr 2015 16:58:45 +0000 (18:58 +0200)]
arprefresh: update the readme

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoRestrict maxmimum message size (not packet size) to IPv6 minimal MTU.
Henning Rogge [Thu, 30 Apr 2015 09:26:08 +0000 (11:26 +0200)]
Restrict maxmimum message size (not packet size) to IPv6 minimal MTU.

4 years agojsoninfo: add version, 2hop and sgw. now in sync with txtinfo
Ferry Huberts [Wed, 22 Apr 2015 11:38:31 +0000 (13:38 +0200)]
jsoninfo: add version, 2hop and sgw. now in sync with txtinfo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: the IP address for a neighbour can also be an IPv6 address
Ferry Huberts [Wed, 22 Apr 2015 11:40:29 +0000 (13:40 +0200)]
jsoninfo: the IP address for a neighbour can also be an IPv6 address

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: minor fixup
Ferry Huberts [Wed, 22 Apr 2015 09:14:21 +0000 (11:14 +0200)]
jsoninfo: minor fixup

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: systemTime and timeSinceStartup can be first
Ferry Huberts [Wed, 22 Apr 2015 08:33:49 +0000 (10:33 +0200)]
jsoninfo: systemTime and timeSinceStartup can be first

A comma is only added when needed.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: formatting fixup
Ferry Huberts [Mon, 20 Apr 2015 13:27:20 +0000 (15:27 +0200)]
jsoninfo: formatting fixup

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: fix a shadowing warning
Ferry Huberts [Mon, 20 Apr 2015 13:08:21 +0000 (15:08 +0200)]
sgw: fix a shadowing warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: refactor outputting JSON
Ferry Huberts [Mon, 20 Apr 2015 12:34:34 +0000 (14:34 +0200)]
jsoninfo: refactor outputting JSON

Nicer formatting and now correct as long as the *mark* functions
are used correctly.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: more comparison simplifications
Ferry Huberts [Mon, 20 Apr 2015 12:23:57 +0000 (14:23 +0200)]
jsoninfo: more comparison simplifications

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: clearer distinction between JSON and non-JSON blocks
Ferry Huberts [Mon, 20 Apr 2015 12:21:33 +0000 (14:21 +0200)]
jsoninfo: clearer distinction between JSON and non-JSON blocks

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: some comparison simplifications
Ferry Huberts [Mon, 20 Apr 2015 12:25:28 +0000 (14:25 +0200)]
jsoninfo: some comparison simplifications

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agojsoninfo: formatting
Ferry Huberts [Mon, 20 Apr 2015 10:26:13 +0000 (12:26 +0200)]
jsoninfo: formatting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: egress: Android is not Linux
Ferry Huberts [Tue, 7 Apr 2015 07:52:52 +0000 (09:52 +0200)]
sgw: egress: Android is not Linux

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: egress file: use full time resolution on Linux
Ferry Huberts [Tue, 7 Apr 2015 07:42:45 +0000 (09:42 +0200)]
sgw: egress file: use full time resolution on Linux

When checking the file modification time. The file might change
again in the same second that it was last read.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoRevert "Added simple hard-coded whitelist"
Sebastian Kürten [Thu, 12 Mar 2015 23:11:25 +0000 (00:11 +0100)]
Revert "Added simple hard-coded whitelist"

This reverts commit 31d4804b088fd30261fe3189ab00136a95d62a1f.

4 years agoAdded simple hard-coded whitelist
Sebastian Kürten [Thu, 12 Mar 2015 23:02:36 +0000 (00:02 +0100)]
Added simple hard-coded whitelist

We have a list of valid IP addresses which are whitelistet, currently
none of the others will be selected as gateway.

Each whitelistet IP has an associated factor that improves the natural
cost so that we can favor individual addresses over others.

4 years agopud: nmealib: doc: upgrade doxygen configuration file
Ferry Huberts [Thu, 26 Feb 2015 11:25:01 +0000 (12:25 +0100)]
pud: nmealib: doc: upgrade doxygen configuration file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: nmealib: doc: disable generation of the PDF; pdflatex somehow fails
Ferry Huberts [Thu, 26 Feb 2015 11:22:54 +0000 (12:22 +0100)]
pud: nmealib: doc: disable generation of the PDF; pdflatex somehow fails

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: nmealib: align nmea_random to olsrd _random
Ferry Huberts [Thu, 26 Feb 2015 10:50:15 +0000 (11:50 +0100)]
pud: nmealib: align nmea_random to olsrd _random

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoolsr_random: need to include time.h
Ferry Huberts [Thu, 26 Feb 2015 10:54:33 +0000 (11:54 +0100)]
olsr_random: need to include time.h

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoolsr_switch: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 01:41:23 +0000 (02:41 +0100)]
olsr_switch: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocontrib: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 01:14:12 +0000 (02:14 +0100)]
contrib: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agocontrib: fix the build
Ferry Huberts [Thu, 26 Feb 2015 01:17:40 +0000 (02:17 +0100)]
contrib: fix the build

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosecure: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 01:13:36 +0000 (02:13 +0100)]
secure: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: nmealib: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 00:19:30 +0000 (01:19 +0100)]
pud: nmealib: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agowin32: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 00:11:34 +0000 (01:11 +0100)]
win32: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agobsd: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 00:27:14 +0000 (01:27 +0100)]
bsd: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agounix: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 00:11:16 +0000 (01:11 +0100)]
unix: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agomain: replace random() by our own function
Ferry Huberts [Thu, 26 Feb 2015 00:10:52 +0000 (01:10 +0100)]
main: replace random() by our own function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoolsr_random: introduce better random functions
Ferry Huberts [Thu, 26 Feb 2015 10:27:03 +0000 (11:27 +0100)]
olsr_random: introduce better random functions

These new function read /dev/urandom (or /dev/random as a fallback)
on platforms that support those devices. They invoke random() on
other platforms.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoquagga: minor readability fixes
Ferry Huberts [Wed, 25 Feb 2015 20:47:42 +0000 (21:47 +0100)]
quagga: minor readability fixes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoparser: fix a Coverity warning
Ferry Huberts [Wed, 25 Feb 2015 20:32:37 +0000 (21:32 +0100)]
parser: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agohttpinfo: fix a Coverity warning
Ferry Huberts [Wed, 25 Feb 2015 20:20:10 +0000 (21:20 +0100)]
httpinfo: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: nmealib: fix a Coverity warning
Ferry Huberts [Wed, 25 Feb 2015 20:16:31 +0000 (21:16 +0100)]
pud: nmealib: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agopud: nmealib: fix a Coverity warning
Ferry Huberts [Wed, 25 Feb 2015 20:16:26 +0000 (21:16 +0100)]
pud: nmealib: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agodyn_gw: fix a Coverity warning
Ferry Huberts [Wed, 25 Feb 2015 20:16:11 +0000 (21:16 +0100)]
dyn_gw: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: gwContainer can't be null here
Ferry Huberts [Tue, 24 Feb 2015 15:43:56 +0000 (16:43 +0100)]
sgw: gwContainer can't be null here

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: minor improvement
Ferry Huberts [Tue, 24 Feb 2015 15:43:35 +0000 (16:43 +0100)]
sgw: minor improvement

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agosgw: ensure a bandwidth of 1 does not alias onto 0 when serialising
Ferry Huberts [Tue, 24 Feb 2015 10:54:31 +0000 (11:54 +0100)]
sgw: ensure a bandwidth of 1 does not alias onto 0 when serialising

Since a bandwidth of 1 is better than no bandwidth at all.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agokeep pushing data through dotdraw plugin
Henning Rogge [Thu, 19 Feb 2015 07:47:21 +0000 (08:47 +0100)]
keep pushing data through dotdraw plugin

4 years agotc: properly initialise the path_costs field in a new tc
Henning Rogge [Mon, 16 Feb 2015 10:32:37 +0000 (11:32 +0100)]
tc: properly initialise the path_costs field in a new tc

Signed-off-by: Henning Rogge <hrogge@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoarprefresh: README adjusted for plugin name
Teco Boot [Sat, 3 Jan 2015 15:35:52 +0000 (16:35 +0100)]
arprefresh: README adjusted for plugin name

4 years agopud: wireformat-java: improve java detection
Ferry Huberts [Thu, 11 Dec 2014 17:56:16 +0000 (18:56 +0100)]
pud: wireformat-java: improve java detection

Just ask java where its home directory is

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoMerge branch 'release-0.6.8'
Ferry Huberts [Mon, 29 Dec 2014 12:01:55 +0000 (13:01 +0100)]
Merge branch 'release-0.6.8'

* release-0.6.8:
  Update version after release of v0.6.8
  Release v0.6.8

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
4 years agoUpdate version after release of v0.6.8
Henning Rogge [Mon, 29 Dec 2014 11:17:19 +0000 (12:17 +0100)]
Update version after release of v0.6.8

Signed-off-by: Henning Rogge <hrogge@gmail.com>
4 years agoUpdate version after release of v0.6.8
Henning Rogge [Mon, 29 Dec 2014 11:17:19 +0000 (12:17 +0100)]
Update version after release of v0.6.8

Signed-off-by: Henning Rogge <hrogge@gmail.com>
4 years agoRelease v0.6.8 v0.6.8
Henning Rogge [Mon, 29 Dec 2014 11:17:09 +0000 (12:17 +0100)]
Release v0.6.8

Signed-off-by: Henning Rogge <hrogge@gmail.com>
4 years agoFix bug of former commit
Henning Rogge [Sun, 28 Dec 2014 13:51:52 +0000 (14:51 +0100)]
Fix bug of former commit

4 years agoPrevent memory leak when setting up new interface
Henning Rogge [Sun, 28 Dec 2014 13:04:41 +0000 (14:04 +0100)]
Prevent memory leak when setting up new interface