olsrd.git
6 years agotxtinfo: make the sgw output better machine parseable
Ferry Huberts [Thu, 20 Mar 2014 11:18:25 +0000 (12:18 +0100)]
txtinfo: make the sgw output better machine parseable

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: nmealib: Fix a typo in Tobias's surname
Ferry Huberts [Thu, 20 Mar 2014 09:54:03 +0000 (10:54 +0100)]
pud: nmealib: Fix a typo in Tobias's surname

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: update nmealib to 2.0.0
Ferry Huberts [Thu, 20 Mar 2014 07:49:10 +0000 (08:49 +0100)]
pud: update nmealib to 2.0.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agocommon: add an extra check in autobuf_enlarge to avoid a compiler warning
Ferry Huberts [Thu, 20 Mar 2014 08:24:55 +0000 (09:24 +0100)]
common: add an extra check in autobuf_enlarge to avoid a compiler warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: rename a function parameter to avoid a compiler warning
Ferry Huberts [Thu, 20 Mar 2014 07:58:38 +0000 (08:58 +0100)]
sgwdynspeed: rename a function parameter to avoid a compiler warning

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgw: rework policy rules setup
Ferry Huberts [Wed, 19 Mar 2014 10:23:04 +0000 (11:23 +0100)]
sgw: rework policy rules setup

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: update nmealib samples Makefile
Ferry Huberts [Tue, 18 Mar 2014 18:45:43 +0000 (19:45 +0100)]
pud: update  nmealib samples Makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoREADME-Olsr-Extensions: Fix some typos
Ferry Huberts [Tue, 18 Mar 2014 13:58:38 +0000 (14:58 +0100)]
README-Olsr-Extensions: Fix some typos

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: when a node advertises maximum bandwidth then only consider path costs
Ferry Huberts [Wed, 5 Mar 2014 13:09:21 +0000 (14:09 +0100)]
gw: when a node advertises maximum bandwidth then only consider path costs

So that we can setup nodes in a way that they will attract all gw tunnels
in the mesh. This is - for example - very useful for situations where
vehicles drive into their base, which has a node with a 'free' Internet
link.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: fix a minor copy/paste typo
Ferry Huberts [Mon, 24 Feb 2014 10:55:34 +0000 (11:55 +0100)]
gw: fix a minor copy/paste typo

No change in functionality

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agofix: TXTINFO_ALLOW_LOCALHOST - add missing ntohl()
Markus Kittenberger [Sat, 22 Feb 2014 13:46:58 +0000 (14:46 +0100)]
fix: TXTINFO_ALLOW_LOCALHOST - add missing ntohl()

6 years agogw: fix null pointer dereferences in cost calculation
Ferry Huberts [Fri, 21 Feb 2014 08:30:33 +0000 (09:30 +0100)]
gw: fix null pointer dereferences in cost calculation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: add SmartGatewayMarkOffsetServerTunnel configuration parameter
Ferry Huberts [Tue, 18 Feb 2014 15:06:50 +0000 (16:06 +0100)]
gw: add SmartGatewayMarkOffsetServerTunnel configuration parameter

We need it in the policy routing script

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: move path_cost into the gateway struct, ensure it's always up-to-date
Ferry Huberts [Thu, 20 Feb 2014 14:21:24 +0000 (15:21 +0100)]
gw: move path_cost into the gateway struct, ensure it's always up-to-date

In the process a lot of code surrounding the path costs can be simplified:
upon reception of a HNA we always calculate the costs, and when they have
changed, we re-sort the gateway list.
Therefore no other place in the code needs to do that, and path_cost can
always be used directly from the gateway struct.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: fix a typo
Ferry Huberts [Thu, 20 Feb 2014 14:02:20 +0000 (15:02 +0100)]
gw: fix a typo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: fix gateway takedown calculation
Ferry Huberts [Thu, 20 Feb 2014 13:36:50 +0000 (14:36 +0100)]
gw: fix gateway takedown calculation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: Add endif comments
Ferry Huberts [Thu, 20 Feb 2014 11:16:41 +0000 (12:16 +0100)]
gw: Add endif comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: simplify overlap checking code
Ferry Huberts [Tue, 18 Feb 2014 14:51:16 +0000 (15:51 +0100)]
gw: simplify overlap checking code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: fix the 'ip' delete argument in the policy routing script
Ferry Huberts [Tue, 18 Feb 2014 12:38:01 +0000 (13:38 +0100)]
gw: fix the 'ip' delete argument in the policy routing script

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: remove commands in comments concerning the policy routing script
Ferry Huberts [Tue, 18 Feb 2014 10:05:14 +0000 (11:05 +0100)]
gw: remove commands in comments concerning the policy routing script

Too much duplication and maintenance

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: remove some dead code
Ferry Huberts [Tue, 18 Feb 2014 09:00:38 +0000 (10:00 +0100)]
sgwdynspeed: remove some dead code

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: make the EOL stripping much faster
Ferry Huberts [Mon, 17 Feb 2014 23:15:14 +0000 (00:15 +0100)]
sgwdynspeed: make the EOL stripping much faster

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: ignore everything we don't understand when reading the file
Ferry Huberts [Mon, 17 Feb 2014 23:05:40 +0000 (00:05 +0100)]
sgwdynspeed: ignore everything we don't understand when reading the file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: rename 2 variables
Ferry Huberts [Mon, 17 Feb 2014 22:59:08 +0000 (23:59 +0100)]
sgwdynspeed: rename 2 variables

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: do not go outside of the string when stripping EOLs
Ferry Huberts [Mon, 17 Feb 2014 22:48:20 +0000 (23:48 +0100)]
sgwdynspeed: do not go outside of the string when stripping EOLs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: fgets includes EOLs in the read string, strip them off
Ferry Huberts [Mon, 17 Feb 2014 15:31:12 +0000 (16:31 +0100)]
sgwdynspeed: fgets includes EOLs in the read string, strip them off

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: allow string values and empty values in the speed file
Ferry Huberts [Mon, 17 Feb 2014 14:34:03 +0000 (15:34 +0100)]
sgwdynspeed: allow string values and empty values in the speed file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgw: fix the policy routing script
Ferry Huberts [Thu, 13 Feb 2014 16:35:37 +0000 (17:35 +0100)]
sgw: fix the policy routing script

The shell can't handle functions without statements

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: avoid spamming the log with 'unknown option' messages
Ferry Huberts [Thu, 13 Feb 2014 16:09:24 +0000 (17:09 +0100)]
sgwdynspeed: avoid spamming the log with 'unknown option' messages

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgw: preserve order of declared SmartGatewayEgressInterfaces
Ferry Huberts [Thu, 13 Feb 2014 13:03:05 +0000 (14:03 +0100)]
sgw: preserve order of declared SmartGatewayEgressInterfaces

Instead of reversing the order

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgw: rename a variable in parsing of sgw_egress_if
Ferry Huberts [Thu, 13 Feb 2014 11:40:14 +0000 (12:40 +0100)]
sgw: rename a variable in parsing of sgw_egress_if

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgw: adjust policy routing script a bit
Ferry Huberts [Thu, 13 Feb 2014 10:47:53 +0000 (11:47 +0100)]
sgw: adjust policy routing script a bit

To always (on all interfaces) restore connection markings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: ignore unknown options
Ferry Huberts [Thu, 13 Feb 2014 10:40:35 +0000 (11:40 +0100)]
sgwdynspeed: ignore unknown options

Instead of doing nothing when an unknown option is encountered.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agop2pd: recompute the IPv4 header checksum after adjusting the TTL
Ferry Huberts [Wed, 5 Feb 2014 10:39:38 +0000 (11:39 +0100)]
p2pd: recompute the IPv4 header checksum after adjusting the TTL

Bug introduced in 7996735

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoFix some eclipse warnings
Ferry Huberts [Thu, 30 Jan 2014 13:46:39 +0000 (14:46 +0100)]
Fix some eclipse warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agodoc: add a gnuplot file to show the smart gateway cost calculation
Ferry Huberts [Thu, 30 Jan 2014 13:32:22 +0000 (14:32 +0100)]
doc: add a gnuplot file to show the smart gateway cost calculation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogw: make SmartGatewayDividerEtx a 32 bit number
Ferry Huberts [Wed, 29 Jan 2014 16:16:09 +0000 (17:16 +0100)]
gw: make SmartGatewayDividerEtx a 32 bit number

We need bigger dividers.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agotxtinfo: also show the path costs in the SmartGateway table
Ferry Huberts [Wed, 29 Jan 2014 13:50:23 +0000 (14:50 +0100)]
txtinfo: also show the path costs in the SmartGateway table

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: also show the path costs in the SmartGateway table
Ferry Huberts [Wed, 29 Jan 2014 13:36:17 +0000 (14:36 +0100)]
httpinfo: also show the path costs in the SmartGateway table

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agop2pd: add UseTTLDecrement configuration setting
Ferry Huberts [Wed, 29 Jan 2014 09:39:49 +0000 (10:39 +0100)]
p2pd: add UseTTLDecrement configuration setting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agomingw: fix Ubuntu 13.10 / Debian Wheezy mingw mess
Ferry Huberts [Tue, 28 Jan 2014 13:54:47 +0000 (14:54 +0100)]
mingw: fix Ubuntu 13.10 / Debian Wheezy mingw mess

Ubuntu 13.10 and Debian Wheezy both report mingw 4.6.
Debian Wheezy needs the old setup, while Ubuntu 13.10 needs the new setup:
We decrement the version to 4.5 for Debian Wheezy

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agowin32: accomodate old and new mingw setups
Ferry Huberts [Tue, 28 Jan 2014 13:16:25 +0000 (14:16 +0100)]
win32: accomodate old and new mingw setups

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Tested-By: Henning Rogger <henning.rogge@fkie.fraunhofer.de>
6 years agowin32: do not add -Wcast-qual to compiler warning flags
Henning Rogge [Tue, 7 Jan 2014 13:59:55 +0000 (14:59 +0100)]
win32: do not add -Wcast-qual to compiler warning flags

Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agouse inet_pton instead of inet_aton
Henning Rogge [Tue, 7 Jan 2014 13:20:38 +0000 (14:20 +0100)]
use inet_pton instead of inet_aton

Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agojson openwrt Makefile update
Bernhard Marker [Sun, 5 Jan 2014 21:12:09 +0000 (22:12 +0100)]
json openwrt Makefile update

6 years agoadded json plugin to openwrt build Makefile
Bernhard Marker [Sun, 5 Jan 2014 20:50:49 +0000 (21:50 +0100)]
added json plugin to openwrt build Makefile

6 years agoneighbor table: fix crash in olsr_print_neighbor_table on MinGW
Ferry Huberts [Mon, 9 Dec 2013 10:28:23 +0000 (11:28 +0100)]
neighbor table: fix crash in olsr_print_neighbor_table on MinGW

Reported-by: Harald Sighart <hsighart@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agotok: improve the nmea_calc_crc function a bit
Ferry Huberts [Mon, 2 Dec 2013 11:13:15 +0000 (12:13 +0100)]
tok: improve the nmea_calc_crc function a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Thu, 21 Nov 2013 09:39:06 +0000 (10:39 +0100)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  pud: fix readIPAddress function
  main: olsr_create_lock_file: fix return value check on 'open' call

6 years agoMerge branch 'release-0.6.5'
Ferry Huberts [Thu, 21 Nov 2013 09:38:51 +0000 (10:38 +0100)]
Merge branch 'release-0.6.5'

* release-0.6.5:
  pud: fix readIPAddress function
  main: olsr_create_lock_file: fix return value check on 'open' call

6 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 21 Nov 2013 09:35:47 +0000 (10:35 +0100)]
pud: fix readIPAddress function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 21 Nov 2013 09:35:47 +0000 (10:35 +0100)]
pud: fix readIPAddress function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 21 Nov 2013 09:35:47 +0000 (10:35 +0100)]
pud: fix readIPAddress function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: use the nmea present field in the wireformat
Ferry Huberts [Wed, 13 Nov 2013 14:26:51 +0000 (15:26 +0100)]
pud: use the nmea present field in the wireformat

It now communicates accurately which fields are present.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoIgnore IFF_RUNNING when checking if an interface is up or down.
Henning Rogge [Wed, 13 Nov 2013 08:24:50 +0000 (09:24 +0100)]
Ignore IFF_RUNNING when checking if an interface is up or down.

6 years agomain: olsr_create_lock_file: fix return value check on 'open' call
Ferry Huberts [Fri, 8 Nov 2013 15:11:01 +0000 (16:11 +0100)]
main: olsr_create_lock_file: fix return value check on 'open' call

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agomain: olsr_create_lock_file: fix return value check on 'open' call
Ferry Huberts [Fri, 8 Nov 2013 15:11:01 +0000 (16:11 +0100)]
main: olsr_create_lock_file: fix return value check on 'open' call

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agomain: add some extra braces
Ferry Huberts [Fri, 8 Nov 2013 15:14:40 +0000 (16:14 +0100)]
main: add some extra braces

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agomain: olsr_create_lock_file: fix return value check on 'open' call
Ferry Huberts [Fri, 8 Nov 2013 15:11:01 +0000 (16:11 +0100)]
main: olsr_create_lock_file: fix return value check on 'open' call

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Fri, 8 Nov 2013 14:47:43 +0000 (15:47 +0100)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  Make sure to save/restore errno in signal handlers

6 years agoMerge branch 'release-0.6.5'
Ferry Huberts [Fri, 8 Nov 2013 14:47:40 +0000 (15:47 +0100)]
Merge branch 'release-0.6.5'

* release-0.6.5:
  Make sure to save/restore errno in signal handlers

6 years agoMake sure to save/restore errno in signal handlers
Ferry Huberts [Fri, 8 Nov 2013 14:41:01 +0000 (15:41 +0100)]
Make sure to save/restore errno in signal handlers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMake sure to save/restore errno in signal handlers
Ferry Huberts [Fri, 8 Nov 2013 14:41:01 +0000 (15:41 +0100)]
Make sure to save/restore errno in signal handlers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMake sure to save/restore errno in signal handlers
Ferry Huberts [Fri, 8 Nov 2013 14:41:01 +0000 (15:41 +0100)]
Make sure to save/restore errno in signal handlers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Wed, 6 Nov 2013 15:06:33 +0000 (16:06 +0100)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  pud: do the same fix as in the previous commit, now for i386

6 years agoMerge branch 'release-0.6.5'
Ferry Huberts [Wed, 6 Nov 2013 15:06:29 +0000 (16:06 +0100)]
Merge branch 'release-0.6.5'

* release-0.6.5:
  pud: do the same fix as in the previous commit, now for i386

6 years agopud: do the same fix as in the previous commit, now for i386
Ferry Huberts [Wed, 6 Nov 2013 15:05:41 +0000 (16:05 +0100)]
pud: do the same fix as in the previous commit, now for i386

sigh

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: do the same fix as in the previous commit, now for i386
Ferry Huberts [Wed, 6 Nov 2013 15:05:41 +0000 (16:05 +0100)]
pud: do the same fix as in the previous commit, now for i386

sigh

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: do the same fix as in the previous commit, now for i386
Ferry Huberts [Wed, 6 Nov 2013 15:05:41 +0000 (16:05 +0100)]
pud: do the same fix as in the previous commit, now for i386

sigh

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Wed, 6 Nov 2013 13:16:20 +0000 (14:16 +0100)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  pud: fix java detection in the wireformat java bindings (again)

6 years agoMerge branch 'release-0.6.5'
Ferry Huberts [Wed, 6 Nov 2013 13:16:14 +0000 (14:16 +0100)]
Merge branch 'release-0.6.5'

* release-0.6.5:
  pud: fix java detection in the wireformat java bindings (again)

6 years agopud: fix java detection in the wireformat java bindings (again)
Ferry Huberts [Wed, 6 Nov 2013 13:14:53 +0000 (14:14 +0100)]
pud: fix java detection in the wireformat java bindings (again)

Debian turns out to be a huge pain. Now I need to also check '-amd64'
since Wheezy changed it again... sigh...

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix java detection in the wireformat java bindings (again)
Ferry Huberts [Wed, 6 Nov 2013 13:14:53 +0000 (14:14 +0100)]
pud: fix java detection in the wireformat java bindings (again)

Debian turns out to be a huge pain. Now I need to also check '-amd64'
since Wheezy changed it again... sigh...

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix java detection in the wireformat java bindings (again)
Ferry Huberts [Wed, 6 Nov 2013 13:14:53 +0000 (14:14 +0100)]
pud: fix java detection in the wireformat java bindings (again)

Debian turns out to be a huge pain. Now I need to also check '-amd64'
since Wheezy changed it again... sigh...

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Mon, 21 Oct 2013 16:12:25 +0000 (18:12 +0200)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  Update version after release of v0.6.6.1
  Release v0.6.6.1
  Fix jsoninfo again after a regression which was introduced with http://olsr.org/git/?p=olsrd.git;a=commit;h=8f633c9f54e179ce530291571a13b3b96d288bf4 For a discussion of the bug see http://olsr.org/bugs/view.php?id=40  Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,

Conflicts:
Makefile
gui/win32/Inst/installer.nsi
gui/win32/Main/Frontend.rc

6 years agoUpdate version after release of v0.6.6.1
Henning Rogge [Mon, 21 Oct 2013 15:56:55 +0000 (17:56 +0200)]
Update version after release of v0.6.6.1

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
6 years agoRelease v0.6.6.1 v0.6.6.1
Henning Rogge [Mon, 21 Oct 2013 15:56:50 +0000 (17:56 +0200)]
Release v0.6.6.1

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
6 years agohttpinfo: also show the present field on the nmea info
Ferry Huberts [Tue, 8 Oct 2013 12:35:33 +0000 (14:35 +0200)]
httpinfo: also show the present field on the nmea info

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: make sure to only use accessor functions in the 'present' nmea field
Ferry Huberts [Tue, 8 Oct 2013 12:04:20 +0000 (14:04 +0200)]
pud: make sure to only use accessor functions in the 'present' nmea field

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: rename a function
Ferry Huberts [Tue, 8 Oct 2013 12:03:17 +0000 (14:03 +0200)]
httpinfo: rename a function

To more closely match the nmea function name.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: add UUID nodeId type
Ferry Huberts [Fri, 4 Oct 2013 08:18:11 +0000 (10:18 +0200)]
pud: add UUID nodeId type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix intSetupNodeIdBinaryDoubleLongLong for short values
Ferry Huberts [Fri, 4 Oct 2013 08:36:41 +0000 (10:36 +0200)]
pud: fix intSetupNodeIdBinaryDoubleLongLong for short values

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: specify where to store the result in intSetupNodeIdBinaryDoubleLongLong
Ferry Huberts [Fri, 4 Oct 2013 08:02:51 +0000 (10:02 +0200)]
pud: specify where to store the result in intSetupNodeIdBinaryDoubleLongLong

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: don't copy memory we're not allowed to access
Ferry Huberts [Fri, 4 Oct 2013 07:58:27 +0000 (09:58 +0200)]
pud: don't copy memory we're not allowed to access

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: specify conversion base in readULL
Ferry Huberts [Fri, 4 Oct 2013 07:37:41 +0000 (09:37 +0200)]
pud: specify conversion base in readULL

Also in intSetupNodeIdBinaryDoubleLongLong

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: add an assert to silence a Coverity false positive
Ferry Huberts [Thu, 3 Oct 2013 13:10:45 +0000 (15:10 +0200)]
pud: add an assert to silence a Coverity false positive

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: add MIP OID nodeId type
Ferry Huberts [Thu, 3 Oct 2013 10:11:48 +0000 (12:11 +0200)]
pud: add MIP OID nodeId type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: clarify the URN number
Ferry Huberts [Wed, 2 Oct 2013 08:51:56 +0000 (10:51 +0200)]
pud: clarify the URN number

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: make wireformat constants unsigned
Ferry Huberts [Thu, 3 Oct 2013 10:01:08 +0000 (12:01 +0200)]
pud: make wireformat constants unsigned

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: remove a strlen in the DNS name handling of the wire format.
Ferry Huberts [Wed, 2 Oct 2013 13:35:19 +0000 (15:35 +0200)]
pud: remove a strlen in the DNS name handling of the wire format.

This makes the handling of DNS names in the wire format much more robust.

This commit prepares for not having a terminating '\0' for a DNS name in
the wire format. However, since that is a breaking change, we don't
actually make that change until a later point in time at which we're
forced to break compatibility anyway.

The benefit of saving a single byte in this case is too minor to justify
breaking the compatibility.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: remove some strlen's in nettools
Ferry Huberts [Wed, 2 Oct 2013 12:40:25 +0000 (14:40 +0200)]
pud: remove some strlen's in nettools

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: merge nodeIdType and nodeId parameters into nodeId parameter
Ferry Huberts [Tue, 1 Oct 2013 12:46:32 +0000 (14:46 +0200)]
pud: merge nodeIdType and nodeId parameters into nodeId parameter

So that we can do an early validity check.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: firm up setupNodeIdBinaryAndValidate
Ferry Huberts [Tue, 1 Oct 2013 10:26:04 +0000 (12:26 +0200)]
pud: firm up setupNodeIdBinaryAndValidate

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: remove getNodeId, rename getNodeIdWithLength to getNodeId
Ferry Huberts [Tue, 1 Oct 2013 09:37:50 +0000 (11:37 +0200)]
pud: remove getNodeId, rename getNodeIdWithLength to getNodeId

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoAdded LINUX_NL80211 readme file
Teco Boot [Tue, 17 Sep 2013 06:51:29 +0000 (08:51 +0200)]
Added LINUX_NL80211 readme file

7 years agoclarify instructions for http:// downloading of debian/ folder
Hans-Christoph Steiner [Sat, 14 Sep 2013 00:47:38 +0000 (20:47 -0400)]
clarify instructions for  downloading of debian/ folder

7 years agoadd instructions for building Debian package from canonical sources
Hans-Christoph Steiner [Tue, 10 Sep 2013 20:05:13 +0000 (16:05 -0400)]
add instructions for building Debian package from canonical sources

7 years agopurge ancient debian/ folder, people should use the current files
Hans-Christoph Steiner [Tue, 10 Sep 2013 19:52:47 +0000 (15:52 -0400)]
purge ancient debian/ folder, people should use the current files

7 years agoFix jsoninfo again after a regression which was introduced with
Manuel Munz [Fri, 23 Aug 2013 19:02:23 +0000 (21:02 +0200)]
Fix jsoninfo again after a regression which was introduced with
http://olsr.org/git/?p=olsrd.git;a=commit;h=8f633c9f54e179ce530291571a13b3b96d288bf4
For a discussion of the bug see http://olsr.org/bugs/view.php?id=40
 Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,

7 years agoFix jsoninfo again after a regression which was introduced with
Manuel Munz [Fri, 23 Aug 2013 19:02:23 +0000 (21:02 +0200)]
Fix jsoninfo again after a regression which was introduced with
http://olsr.org/git/?p=olsrd.git;a=commit;h=8f633c9f54e179ce530291571a13b3b96d288bf4
For a discussion of the bug see http://olsr.org/bugs/view.php?id=40
 Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,