olsrd.git
5 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>
5 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>
5 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>
5 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>
5 years agojson openwrt Makefile update
Bernhard Marker [Sun, 5 Jan 2014 21:12:09 +0000 (22:12 +0100)]
json openwrt Makefile update

5 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

5 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>
5 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>
5 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

5 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

5 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>
5 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>
5 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>
5 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>
5 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.

5 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>
5 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>
5 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>
5 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>
5 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

5 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

5 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>
5 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>
5 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>
5 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

5 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

5 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>
5 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>
5 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>
5 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)

5 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)

5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years agoAdded LINUX_NL80211 readme file
Teco Boot [Tue, 17 Sep 2013 06:51:29 +0000 (08:51 +0200)]
Added LINUX_NL80211 readme file

5 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

5 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

5 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

5 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,

5 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,

5 years agoFix #34: Description of "timeout" parameter in "nameservice" plugin...
Ferry Huberts [Mon, 19 Aug 2013 20:56:29 +0000 (22:56 +0200)]
Fix #34: Description of "timeout" parameter in "nameservice" plugin...

...is misleading
http://olsr.org/bugs/view.php?id=34

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMerge branch 'release-0.6.6'
Ferry Huberts [Sat, 17 Aug 2013 09:15:34 +0000 (11:15 +0200)]
Merge branch 'release-0.6.6'

* release-0.6.6:
  Update version after release of v0.6.6
  Release v0.6.6
  Fix build break for MinGW compilation on Fedora 19. Still throws a lot of warnings
  jsoninfo: ensure output is wrapped in curly braces.
  pud: fix readIPAddress function
  Makefile: fix builddata when building from tarball
  build: only print the md5 hash in hash_source.sh
  build: really _ignore_ builddata.c when hashing sources
  pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
  txtinfo: update README file

Conflicts:
CHANGELOG
Makefile
gui/win32/Inst/installer.nsi
gui/win32/Main/Frontend.rc
lib/txtinfo/README_TXTINFO
make/hash_source.sh

5 years agoMerge branch 'release-0.6.5'
Ferry Huberts [Sat, 17 Aug 2013 09:06:37 +0000 (11:06 +0200)]
Merge branch 'release-0.6.5'

* release-0.6.5:
  Update version after release of v0.6.5.5
  Release v0.6.5.5
  Fix build break for MinGW compilation on Fedora 19. Still throws a lot of warnings
  jsoninfo: ensure output is wrapped in curly braces.
  pud: fix readIPAddress function
  Makefile: fix builddata when building from tarball
  build: only print the md5 hash in hash_source.sh
  build: really _ignore_ builddata.c when hashing sources
  Update version after release of v0.6.5.4
  Release v0.6.5.4
  pud: nmealib: _nmea_parse_time not parsing hsec when given "hhmmss" format
  txtinfo: prevent buffer overflow

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

5 years agoUpdate version after release of v0.6.6
Henning Rogge [Sat, 17 Aug 2013 09:03:40 +0000 (11:03 +0200)]
Update version after release of v0.6.6

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
5 years agoRelease v0.6.6 v0.6.6
Henning Rogge [Sat, 17 Aug 2013 09:03:40 +0000 (11:03 +0200)]
Release v0.6.6

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
5 years agoUpdate version after release of v0.6.5.5
Henning Rogge [Sat, 17 Aug 2013 08:55:51 +0000 (10:55 +0200)]
Update version after release of v0.6.5.5

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
5 years agoRelease v0.6.5.5 v0.6.5.5
Henning Rogge [Sat, 17 Aug 2013 08:55:44 +0000 (10:55 +0200)]
Release v0.6.5.5

Signed-off-by: Henning Rogge <hrogge@googlemail.com>
5 years agoFix build break for MinGW compilation on Fedora 19.
Henning Rogge [Sat, 17 Aug 2013 08:28:17 +0000 (10:28 +0200)]
Fix build break for MinGW compilation on Fedora 19.
Still throws a lot of warnings

5 years agoFix build break for MinGW compilation on Fedora 19.
Henning Rogge [Sat, 17 Aug 2013 08:28:17 +0000 (10:28 +0200)]
Fix build break for MinGW compilation on Fedora 19.
Still throws a lot of warnings

5 years agoFix build break for MinGW compilation on Fedora 19.
Henning Rogge [Sat, 17 Aug 2013 08:28:17 +0000 (10:28 +0200)]
Fix build break for MinGW compilation on Fedora 19.
Still throws a lot of warnings

5 years agohttpinfo: center the header row of the smart gateway tables
Ferry Huberts [Fri, 16 Aug 2013 08:35:33 +0000 (10:35 +0200)]
httpinfo: center the header row of the smart gateway tables

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: ensure output is wrapped in curly braces.
Scott Kidder [Thu, 15 Aug 2013 17:06:23 +0000 (10:06 -0700)]
jsoninfo: ensure output is wrapped in curly braces.

5 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 15 Aug 2013 21:11:04 +0000 (23:11 +0200)]
pud: fix readIPAddress function

It would also set the port instead of only the IP address, thereby
opening up the possibility to lose the port if the address is set
after the port.

Reported-by: shkdee
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: ensure output is wrapped in curly braces.
Scott Kidder [Thu, 15 Aug 2013 17:06:23 +0000 (10:06 -0700)]
jsoninfo: ensure output is wrapped in curly braces.

5 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 15 Aug 2013 21:11:04 +0000 (23:11 +0200)]
pud: fix readIPAddress function

It would also set the port instead of only the IP address, thereby
opening up the possibility to lose the port if the address is set
after the port.

Reported-by: shkdee
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agojsoninfo: ensure output is wrapped in curly braces.
Scott Kidder [Thu, 15 Aug 2013 17:06:23 +0000 (10:06 -0700)]
jsoninfo: ensure output is wrapped in curly braces.

5 years agopud: fix readIPAddress function
Ferry Huberts [Thu, 15 Aug 2013 21:11:04 +0000 (23:11 +0200)]
pud: fix readIPAddress function

It would also set the port instead of only the IP address, thereby
opening up the possibility to lose the port if the address is set
after the port.

Reported-by: shkdee
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: hash_source.sh: specify the mktemp template
Ferry Huberts [Thu, 15 Aug 2013 19:59:22 +0000 (21:59 +0200)]
build: hash_source.sh: specify the mktemp template

Mac OSX is a bit backward in this regard

Reported-by: Scott Kidder <kidder.scott@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agosgwdynspeed: install configuration files under ETCDIR
Ferry Huberts [Wed, 31 Jul 2013 13:01:31 +0000 (15:01 +0200)]
sgwdynspeed: install configuration files under ETCDIR

Now that we changed ETCDIR to /etc/olsrd/

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agopud: install configuration files under ETCDIR
Ferry Huberts [Wed, 31 Jul 2013 13:01:17 +0000 (15:01 +0200)]
pud: install configuration files under ETCDIR

Now that we changed ETCDIR to /etc/olsrd/

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMove the configuration files into /etc/olsrd/
Ferry Huberts [Wed, 31 Jul 2013 12:56:51 +0000 (14:56 +0200)]
Move the configuration files into /etc/olsrd/

The openwrt files were NOT touched.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agomake: fixup bashisms in hash_source.sh
Ferry Huberts [Wed, 24 Jul 2013 12:01:50 +0000 (14:01 +0200)]
make: fixup bashisms in hash_source.sh

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agosgw: minor comment fixup
Ferry Huberts [Fri, 12 Jul 2013 11:07:23 +0000 (13:07 +0200)]
sgw: minor comment fixup

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agosgw: move cost calculation into it own unit
Ferry Huberts [Fri, 12 Jul 2013 08:27:12 +0000 (10:27 +0200)]
sgw: move cost calculation into it own unit

I'm going to reuse the code in another project

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agocfgfile: no more magic numbers for RtTable* defaults
Ferry Huberts [Thu, 11 Jul 2013 13:22:12 +0000 (15:22 +0200)]
cfgfile: no more magic numbers for RtTable* defaults

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: only re-generate src/builddata.c when needed
Ferry Huberts [Thu, 11 Jul 2013 10:11:17 +0000 (12:11 +0200)]
build: only re-generate src/builddata.c when needed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMakefile: fix builddata when building from tarball
Ferry Huberts [Wed, 10 Jul 2013 15:50:38 +0000 (17:50 +0200)]
Makefile: fix builddata when building from tarball

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: only print the md5 hash in hash_source.sh
Ferry Huberts [Wed, 10 Jul 2013 16:00:52 +0000 (18:00 +0200)]
build: only print the md5 hash in hash_source.sh

Some md5sum programs print in the format
  md5_hash -

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: really _ignore_ builddata.c when hashing sources
Ferry Huberts [Wed, 10 Jul 2013 15:56:51 +0000 (17:56 +0200)]
build: really _ignore_ builddata.c when hashing sources

Somehow the -v got dropped

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMakefile: fix builddata when building from tarball
Ferry Huberts [Wed, 10 Jul 2013 15:50:38 +0000 (17:50 +0200)]
Makefile: fix builddata when building from tarball

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: only print the md5 hash in hash_source.sh
Ferry Huberts [Wed, 10 Jul 2013 16:00:52 +0000 (18:00 +0200)]
build: only print the md5 hash in hash_source.sh

Some md5sum programs print in the format
  md5_hash -

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: really _ignore_ builddata.c when hashing sources
Ferry Huberts [Wed, 10 Jul 2013 15:56:51 +0000 (17:56 +0200)]
build: really _ignore_ builddata.c when hashing sources

Somehow the -v got dropped

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMakefile: fix builddata when building from tarball
Ferry Huberts [Wed, 10 Jul 2013 15:50:38 +0000 (17:50 +0200)]
Makefile: fix builddata when building from tarball

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: only print the md5 hash in hash_source.sh
Ferry Huberts [Wed, 10 Jul 2013 16:00:52 +0000 (18:00 +0200)]
build: only print the md5 hash in hash_source.sh

Some md5sum programs print in the format
  md5_hash -

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agobuild: really _ignore_ builddata.c when hashing sources
Ferry Huberts [Wed, 10 Jul 2013 15:56:51 +0000 (17:56 +0200)]
build: really _ignore_ builddata.c when hashing sources

Somehow the -v got dropped

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agolinux: fix 'add -rdynamic to linker options for debug builds'
Ferry Huberts [Tue, 9 Jul 2013 14:40:12 +0000 (16:40 +0200)]
linux: fix 'add -rdynamic to linker options for debug builds'

I moved some code around before committing and lost the ifeq DEBUG test

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agolinux: add -rdynamic to linker options for debug builds
Ferry Huberts [Tue, 9 Jul 2013 14:34:55 +0000 (16:34 +0200)]
linux: add -rdynamic to linker options for debug builds

This will make sure that all symbols are kept in the libraries and
executables, so that backtraces will have proper names

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoMakefile: add cfgparser_install and cfgparser_clean targets
Ferry Huberts [Tue, 25 Jun 2013 09:31:10 +0000 (11:31 +0200)]
Makefile: add cfgparser_install and cfgparser_clean targets

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
5 years agoFix segfault in cfgparser standalone executable
Henning Rogge [Tue, 25 Jun 2013 09:03:24 +0000 (11:03 +0200)]
Fix segfault in cfgparser standalone executable

6 years agotxtinfo: mention the /sgw command in the README
Ferry Huberts [Tue, 18 Jun 2013 14:36:28 +0000 (16:36 +0200)]
txtinfo: mention the /sgw command in the README

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>