olsrd.git
5 years agofiles: minor improvement to config file generation script
Ferry Huberts [Tue, 13 Oct 2015 10:34:56 +0000 (12:34 +0200)]
files: minor improvement to config file generation script

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agomake: add NOSTRIP option
Ferry Huberts [Mon, 5 Oct 2015 07:36:32 +0000 (09:36 +0200)]
make: add NOSTRIP option

We have olsrd crashing on us, but only the release (non-debug) build.
In order to be able to get more useable information from the segfault
we temporarily need symbols in the the binary. Add this option to do
just that.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agotxtinfo: similar fix as the previous commit
Ferry Huberts [Tue, 29 Sep 2015 11:36:42 +0000 (13:36 +0200)]
txtinfo: similar fix as the previous commit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: fix a Coverity warning
Ferry Huberts [Tue, 29 Sep 2015 11:24:24 +0000 (13:24 +0200)]
jsoninfo: fix a Coverity warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Mon, 28 Sep 2015 08:10:13 +0000 (10:10 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  Update version after release of v0.9.0.3
  Release v0.9.0.3
  Handle interface broadcast/multicast address zero

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.6.8'
Ferry Huberts [Mon, 28 Sep 2015 08:08:41 +0000 (10:08 +0200)]
Merge branch 'release-0.6.8'

* release-0.6.8:
  Fixup CHANGELOG file
  Update version after release of v0.6.8.1
  Release v0.6.8.1
  Handle interface broadcast/multicast address zero

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoFixup CHANGELOG file v0.6.8-eol
Ferry Huberts [Mon, 28 Sep 2015 08:05:48 +0000 (10:05 +0200)]
Fixup CHANGELOG file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoUpdate version after release of v0.9.0.3
Henning Rogge [Sun, 20 Sep 2015 12:22:27 +0000 (14:22 +0200)]
Update version after release of v0.9.0.3

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoRelease v0.9.0.3 v0.9.0.3
Henning Rogge [Sun, 20 Sep 2015 12:22:23 +0000 (14:22 +0200)]
Release v0.9.0.3

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoUpdate version after release of v0.6.8.1
Henning Rogge [Sun, 20 Sep 2015 12:16:04 +0000 (14:16 +0200)]
Update version after release of v0.6.8.1

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoRelease v0.6.8.1 v0.6.8.1
Henning Rogge [Sun, 20 Sep 2015 12:15:43 +0000 (14:15 +0200)]
Release v0.6.8.1

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoHandle interface broadcast/multicast address zero
Henning Rogge [Thu, 3 Sep 2015 17:46:54 +0000 (19:46 +0200)]
Handle interface broadcast/multicast address zero

5 years agoHandle interface broadcast/multicast address zero
Henning Rogge [Thu, 3 Sep 2015 17:46:54 +0000 (19:46 +0200)]
Handle interface broadcast/multicast address zero

5 years agoHandle interface broadcast/multicast address zero
Henning Rogge [Thu, 3 Sep 2015 17:46:54 +0000 (19:46 +0200)]
Handle interface broadcast/multicast address zero

5 years agofiles: regenerate the generated default full configuration
Ferry Huberts [Mon, 3 Aug 2015 10:12:21 +0000 (12:12 +0200)]
files: regenerate the generated default full configuration

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Thu, 9 Jul 2015 06:32:09 +0000 (08:32 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  Makefile.osx: create .dylibs

5 years agoMakefile.osx: create .dylibs
Alex Dunn [Wed, 8 Jul 2015 17:05:00 +0000 (10:05 -0700)]
Makefile.osx: create .dylibs

5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Tue, 30 Jun 2015 15:05:12 +0000 (17:05 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  Fix CHANGELOG
  Update version after release of v0.9.0.2
  Release v0.9.0.2
  release: fix release script

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoFix CHANGELOG
Ferry Huberts [Tue, 30 Jun 2015 15:04:14 +0000 (17:04 +0200)]
Fix CHANGELOG

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoUpdate version after release of v0.9.0.2
Henning Rogge [Tue, 30 Jun 2015 15:00:50 +0000 (17:00 +0200)]
Update version after release of v0.9.0.2

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoRelease v0.9.0.2 v0.9.0.2
Henning Rogge [Tue, 30 Jun 2015 15:00:31 +0000 (17:00 +0200)]
Release v0.9.0.2

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agorelease: fix release script
Ferry Huberts [Tue, 30 Jun 2015 14:57:18 +0000 (16:57 +0200)]
release: fix release script

The tag matcher was too tight. The tightness is taken care of by the
grep regular expression.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Fri, 19 Jun 2015 16:36:55 +0000 (18:36 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  txtinfo: fix a crash when there are no gateways
  jsoninfo: fix a crash when there are no gateways
  conf: lock_file is derived config.
  Update version after release of v0.9.0.1
  Release v0.9.0.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agotxtinfo: fix a crash when there are no gateways
Ferry Huberts [Fri, 19 Jun 2015 16:13:31 +0000 (18:13 +0200)]
txtinfo: fix a crash when there are no gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: fix a crash when there are no gateways
Ferry Huberts [Fri, 19 Jun 2015 16:12:04 +0000 (18:12 +0200)]
jsoninfo: fix a crash when there are no gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoconf: lock_file is derived config.
Ferry Huberts [Fri, 19 Jun 2015 12:03:02 +0000 (14:03 +0200)]
conf: lock_file is derived config.

Hi!

We're running two OLSRd instances on our routers (one IPv4, one IPv6).
0.9.x breaks with that setup since there seems to be a bug that causes
the default lockfile name always set to be "olsrd-ipv4.lock".

This bug seems to have been introduced in
http://www.olsr.org/git/?p=olsrd.git;a=commitdiff;h=089c78e208dcb0802ce93f47554a502ab8b77be5

olsrd_get_default_lockfile()
http://www.olsr.org/git/?p=olsrd.git;a=blob;f=src/cfgparser/olsrd_conf.c;h=30e2829cfd1be2717fc25639a9cbdb0da5fea466;hb=089c78e208dcb0802ce93f47554a502ab8b77be5#l976
always sees cnf->ip_version==AF_INET, as that's the default that was
just set in line 932.

Reported-by: Malte <freifunk@antenne.yagii.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agotxtinfo: fix a crash when there are no gateways
Ferry Huberts [Fri, 19 Jun 2015 16:13:31 +0000 (18:13 +0200)]
txtinfo: fix a crash when there are no gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: fix a crash when there are no gateways
Ferry Huberts [Fri, 19 Jun 2015 16:12:04 +0000 (18:12 +0200)]
jsoninfo: fix a crash when there are no gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoconf: lock_file is derived config.
Ferry Huberts [Fri, 19 Jun 2015 12:03:02 +0000 (14:03 +0200)]
conf: lock_file is derived config.

Hi!

We're running two OLSRd instances on our routers (one IPv4, one IPv6).
0.9.x breaks with that setup since there seems to be a bug that causes
the default lockfile name always set to be "olsrd-ipv4.lock".

This bug seems to have been introduced in
http://www.olsr.org/git/?p=olsrd.git;a=commitdiff;h=089c78e208dcb0802ce93f47554a502ab8b77be5

olsrd_get_default_lockfile()
http://www.olsr.org/git/?p=olsrd.git;a=blob;f=src/cfgparser/olsrd_conf.c;h=30e2829cfd1be2717fc25639a9cbdb0da5fea466;hb=089c78e208dcb0802ce93f47554a502ab8b77be5#l976
always sees cnf->ip_version==AF_INET, as that's the default that was
just set in line 932.

Reported-by: Malte <freifunk@antenne.yagii.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoUpdate version after release of v0.9.0.1
Henning Rogge [Thu, 18 Jun 2015 17:21:54 +0000 (19:21 +0200)]
Update version after release of v0.9.0.1

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoRelease v0.9.0.1 v0.9.0.1
Henning Rogge [Thu, 18 Jun 2015 17:21:49 +0000 (19:21 +0200)]
Release v0.9.0.1

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Thu, 18 Jun 2015 07:56:54 +0000 (09:56 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  txtinfo: jsoninfo: do not output smart-gateway info when not enabled.
  jsoninfo: do not output smart-gateway info when not enabled.

5 years agotxtinfo: jsoninfo: do not output smart-gateway info when not enabled.
Ferry Huberts [Tue, 16 Jun 2015 20:32:39 +0000 (22:32 +0200)]
txtinfo: jsoninfo: do not output smart-gateway info when not enabled.

Fixes a crash when smart-gateway is not enabled.

Reported-by: Anreas Brau <ab@andi95.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: do not output smart-gateway info when not enabled.
Ferry Huberts [Tue, 16 Jun 2015 20:32:26 +0000 (22:32 +0200)]
jsoninfo: do not output smart-gateway info when not enabled.

Fixes a crash when smart-gateway is not enabled.

Reported-by: Anreas Brau <ab@andi95.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.6.8'
Ferry Huberts [Mon, 15 Jun 2015 07:49:18 +0000 (09:49 +0200)]
Merge branch 'release-0.6.8'

* release-0.6.8:
  neighbors: signal link changes when deleting a neighbor

5 years agoneighbors: signal link changes when deleting a neighbor
Ferry Huberts [Sat, 13 Jun 2015 11:30:49 +0000 (13:30 +0200)]
neighbors: signal link changes when deleting a neighbor

Reported-by: Koen Swinters <Koen.Swinters@otnsystems.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.9.0'
Ferry Huberts [Mon, 15 Jun 2015 07:19:15 +0000 (09:19 +0200)]
Merge branch 'release-0.9.0'

* release-0.9.0:
  neighbors: signal link changes when deleting a neighbor
  Update version after release of v0.9.0
  Release v0.9.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoneighbors: signal link changes when deleting a neighbor
Ferry Huberts [Sat, 13 Jun 2015 11:30:49 +0000 (13:30 +0200)]
neighbors: signal link changes when deleting a neighbor

Reported-by: Koen Swinters <Koen.Swinters@otnsystems.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoUpdate version after release of v0.9.0
Henning Rogge [Sun, 7 Jun 2015 19:24:10 +0000 (21:24 +0200)]
Update version after release of v0.9.0

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoRelease v0.9.0 v0.9.0
Henning Rogge [Sun, 7 Jun 2015 19:24:05 +0000 (21:24 +0200)]
Release v0.9.0

Signed-off-by: Henning Rogge <hrogge@gmail.com>
5 years agoUpdate version after branch of v0.9.0
Ferry Huberts [Wed, 27 May 2015 13:36:12 +0000 (15:36 +0200)]
Update version after branch of v0.9.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoBranch v0.9.0
Ferry Huberts [Wed, 27 May 2015 13:36:12 +0000 (15:36 +0200)]
Branch v0.9.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.6.8'
Ferry Huberts [Wed, 27 May 2015 13:23:11 +0000 (15:23 +0200)]
Merge branch 'release-0.6.8'

* release-0.6.8:
  autobuf: fix warning in Windows release builds
  release: stricter matching of release tags
  tc: properly initialise the path_costs field in a new tc
  pud: wireformat-java: improve java detection

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.6.7'
Ferry Huberts [Wed, 27 May 2015 13:22:44 +0000 (15:22 +0200)]
Merge branch 'release-0.6.7'

* release-0.6.7:
  Rename 'struct interface' to 'struct interface_olsr'
  build: add some pud targets
  build: uberclean must also remove builddata.txt

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoautobuf: fix warning in Windows release builds
Ferry Huberts [Wed, 27 May 2015 13:02:35 +0000 (15:02 +0200)]
autobuf: fix warning in Windows release builds

Happens on Fedora 22 with GCC 5:
x86_64-w64-mingw32-gcc (GCC) 5.1.0 20150422 (Fedora MinGW 5.1.0-1.fc22)

src/common/autobuf.c: In function 'abuf_strftime':
src/common/autobuf.c:223:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
 }
 ^
src/common/autobuf.c:92:6: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
   if (new_size > autobuf->size) {

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agorelease: stricter matching of release tags
Ferry Huberts [Wed, 27 May 2015 12:15:41 +0000 (14:15 +0200)]
release: stricter matching of release tags

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoplugins: fix precompiled syntax
Daniel Golle [Fri, 15 May 2015 19:47:25 +0000 (21:47 +0200)]
plugins: fix precompiled syntax

use '||' instead of 'or'

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agoplugins: use previous definition of struct udphdr on Android
Daniel Golle [Fri, 15 May 2015 19:38:57 +0000 (21:38 +0200)]
plugins: use previous definition of struct udphdr on Android

Test for __BIONIC__ as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agoplugins: fix build on some glibc systems
Daniel Golle [Fri, 15 May 2015 19:32:35 +0000 (21:32 +0200)]
plugins: fix build on some glibc systems

The previous commit was made under the assumption that all
versions of glibc provides both definitions of struct udphdr.
This doesn't seem to be true, thus test for __GLIBC__ (which
is set by uClibc as well) to be on the safe side.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years agoplugins: fix build with musl
Daniel Golle [Fri, 15 May 2015 17:06:56 +0000 (19:06 +0200)]
plugins: fix build with musl

Introduce checks for __UCLIBC__ to compensate for
incompatible definitions of struct udphdr present in
different libc.
glibc provides both field nameing styles, afaik all
libcs except for uClibc provide the POSIX definition.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>