olsrd.git
6 years agohttpinfo: position: also show satellite information when available
Ferry Huberts [Mon, 16 Jul 2012 15:25:05 +0000 (17:25 +0200)]
httpinfo: position: also show satellite information when available

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: posavg: make sure to put track, mtrack and magvar in the cumulative
Ferry Huberts [Mon, 16 Jul 2012 16:00:40 +0000 (18:00 +0200)]
pud: posavg: make sure to put track, mtrack and magvar in the cumulative

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: posavg: don't add an angle if it is not present
Ferry Huberts [Mon, 16 Jul 2012 15:59:51 +0000 (17:59 +0200)]
pud: posavg: don't add an angle if it is not present

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: posavg: minor simplification
Ferry Huberts [Mon, 16 Jul 2012 15:56:39 +0000 (17:56 +0200)]
pud: posavg: minor simplification

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: posavg: fix typo in calculateAngle
Ferry Huberts [Mon, 16 Jul 2012 15:55:57 +0000 (17:55 +0200)]
pud: posavg: fix typo in calculateAngle

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: include nmealib v1.0.1
Ferry Huberts [Mon, 16 Jul 2012 13:41:44 +0000 (15:41 +0200)]
pud: include nmealib v1.0.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix angle averaging
Ferry Huberts [Mon, 16 Jul 2012 09:14:47 +0000 (11:14 +0200)]
pud: fix angle averaging

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: switch to syslog logging on successful loading of plugin
Ferry Huberts [Mon, 16 Jul 2012 10:32:07 +0000 (12:32 +0200)]
pud: switch to syslog logging on successful loading of plugin

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: allow logging to syslog
Ferry Huberts [Mon, 16 Jul 2012 09:44:52 +0000 (11:44 +0200)]
pud: allow logging to syslog

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: simplify pudError a bit
Ferry Huberts [Mon, 16 Jul 2012 09:43:11 +0000 (11:43 +0200)]
pud: simplify pudError a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: hook up the nmea library error callback
Ferry Huberts [Mon, 16 Jul 2012 09:25:47 +0000 (11:25 +0200)]
pud: hook up the nmea library error callback

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: minor simplification to receiver
Ferry Huberts [Mon, 16 Jul 2012 08:57:04 +0000 (10:57 +0200)]
pud: minor simplification to receiver

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: upgrade doxygen configuration files
Ferry Huberts [Mon, 16 Jul 2012 08:04:18 +0000 (10:04 +0200)]
pud: upgrade doxygen configuration files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: it's 'Magnetic Variation', not 'Magnetic Variance'
Ferry Huberts [Mon, 16 Jul 2012 07:23:47 +0000 (09:23 +0200)]
pud: it's 'Magnetic Variation', not 'Magnetic Variance'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: fix some comments
Ferry Huberts [Mon, 16 Jul 2012 08:04:44 +0000 (10:04 +0200)]
pud: fix some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: adjust to new nmealib
Ferry Huberts [Sat, 14 Jul 2012 11:21:37 +0000 (13:21 +0200)]
pud: adjust to new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: include nmealib v1.0.0
Ferry Huberts [Fri, 13 Jul 2012 16:14:22 +0000 (18:14 +0200)]
pud: include nmealib v1.0.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: remove inlining from wireformat library
Ferry Huberts [Sat, 14 Jul 2012 11:57:00 +0000 (13:57 +0200)]
pud: remove inlining from wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: minor simplification in posAvg
Ferry Huberts [Sat, 14 Jul 2012 09:59:40 +0000 (11:59 +0200)]
pud: minor simplification in posAvg

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: update includes for pud
Ferry Huberts [Sat, 14 Jul 2012 09:50:44 +0000 (11:50 +0200)]
httpinfo: update includes for pud

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: update pud signal descriptions
Ferry Huberts [Sat, 14 Jul 2012 09:46:30 +0000 (11:46 +0200)]
httpinfo: update pud signal descriptions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: minor simplification in pud body function
Ferry Huberts [Sat, 14 Jul 2012 09:43:39 +0000 (11:43 +0200)]
httpinfo: minor simplification in pud body function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: decrease pud nodeId buffer size
Ferry Huberts [Sat, 14 Jul 2012 09:42:38 +0000 (11:42 +0200)]
httpinfo: decrease pud nodeId buffer size

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: replace all "N.A."s by a static string
Ferry Huberts [Fri, 13 Jul 2012 15:31:19 +0000 (17:31 +0200)]
httpinfo: replace all "N.A."s by a static string

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: add some comments
Ferry Huberts [Fri, 13 Jul 2012 15:29:50 +0000 (17:29 +0200)]
httpinfo: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: also print smask
Ferry Huberts [Fri, 13 Jul 2012 15:29:31 +0000 (17:29 +0200)]
httpinfo: also print smask

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: split table start and nodeId
Ferry Huberts [Fri, 13 Jul 2012 15:29:08 +0000 (17:29 +0200)]
httpinfo: split table start and nodeId

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: properly close the table row on the position tab
Ferry Huberts [Fri, 13 Jul 2012 15:22:58 +0000 (17:22 +0200)]
httpinfo: properly close the table row on the position tab

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: also show the position on the 'All' tab
Ferry Huberts [Fri, 13 Jul 2012 15:17:41 +0000 (17:17 +0200)]
httpinfo: also show the position on the 'All' tab

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: change the default zoom level on OpenStreetMap
Ferry Huberts [Fri, 13 Jul 2012 15:17:24 +0000 (17:17 +0200)]
httpinfo: change the default zoom level on OpenStreetMap

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: put the position table in a paragraph
Ferry Huberts [Fri, 13 Jul 2012 15:16:58 +0000 (17:16 +0200)]
httpinfo: put the position table in a paragraph

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: update 'PUD plugin not loaded' message formatting
Ferry Huberts [Fri, 13 Jul 2012 15:16:10 +0000 (17:16 +0200)]
httpinfo: update 'PUD plugin not loaded' message formatting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: print position header
Ferry Huberts [Fri, 13 Jul 2012 15:15:24 +0000 (17:15 +0200)]
httpinfo: print position header

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: remove (more/last) left-over debug printf's
Ferry Huberts [Fri, 13 Jul 2012 10:41:55 +0000 (12:41 +0200)]
PUD: remove (more/last) left-over debug printf's

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: remove left-over debug printf's
Ferry Huberts [Fri, 13 Jul 2012 09:04:38 +0000 (11:04 +0200)]
PUD: remove left-over debug printf's

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agojsoninfo: change Route->"interface" key to "networkInterface" to ease scraping using...
Hans-Christoph Steiner [Fri, 6 Jul 2012 19:32:16 +0000 (15:32 -0400)]
jsoninfo: change Route->"interface" key to "networkInterface" to ease scraping using Java

- "interface" is a reserved word in Java, so no variable can have that name

6 years agoexample olsrd.conf for Commotion project
Hans-Christoph Steiner [Fri, 6 Jul 2012 18:32:34 +0000 (14:32 -0400)]
example olsrd.conf for Commotion project

6 years agojsoninfo: include the relative time since olsrd started in the outer wrapper as ...
Hans-Christoph Steiner [Wed, 4 Jul 2012 20:50:27 +0000 (16:50 -0400)]
jsoninfo: include the relative time since olsrd started in the outer wrapper as "timeSinceStartup"

6 years agojsoninfo: move local HNA set in olsrd.conf from the "hna" to the "config" section
Hans-Christoph Steiner [Wed, 4 Jul 2012 20:49:42 +0000 (16:49 -0400)]
jsoninfo: move local HNA set in olsrd.conf from the "hna" to the "config" section

6 years agoMakefile: install olsrd.conf as olsr.conf.new when it already exists
Ferry Huberts [Wed, 4 Jul 2012 07:59:07 +0000 (09:59 +0200)]
Makefile: install olsrd.conf as olsr.conf.new when it already exists

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMakefile: rework OpenWRT 900-force_copy_olsrd_conf_file.patch
Ferry Huberts [Tue, 3 Jul 2012 10:36:00 +0000 (12:36 +0200)]
Makefile: rework OpenWRT 900-force_copy_olsrd_conf_file.patch

Instead of always overwriting the olsrd.conf on install,
the user must specify 'make INSTALLOVERWRITE=Y install'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoRevert "force copy the olsrd.conf file during install"
Ferry Huberts [Tue, 3 Jul 2012 10:29:23 +0000 (12:29 +0200)]
Revert "force copy the olsrd.conf file during install"

This reverts commit e2855a99ed1429b22b03be7a2d6c3b93d24b62fd.

6 years agoMerge remote-tracking branch 'origin/stable' into stable
Vasilis Tsiligiannis [Fri, 29 Jun 2012 15:21:14 +0000 (18:21 +0300)]
Merge remote-tracking branch 'origin/stable' into stable

6 years agoforce copy the olsrd.conf file during install
Ferry Huberts [Thu, 28 Jun 2012 18:25:22 +0000 (20:25 +0200)]
force copy the olsrd.conf file during install

this upstreams the OpenWRT 900-force_copy_olsrd_conf_file.patch

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agojsoninfo: fix typo
Hans-Christoph Steiner [Wed, 27 Jun 2012 22:31:02 +0000 (18:31 -0400)]
jsoninfo: fix typo

6 years agoincluded source link in olsrd.conf.funkfeuer
Hans-Christoph Steiner [Wed, 27 Jun 2012 21:01:40 +0000 (17:01 -0400)]
included source link in olsrd.conf.funkfeuer

6 years agoincluded example olsrd.conf.funkfeuer from http://wiki.funkfeuer.at/index.php/OLSR...
Hans-Christoph Steiner [Wed, 27 Jun 2012 20:58:57 +0000 (16:58 -0400)]
included example olsrd.conf.funkfeuer from wiki.funkfeuer.at/index.php/OLSR-Konfiguration

6 years agojsoninfo: updated interface config info (LQ mults, emission intervals, validity times...
Hans-Christoph Steiner [Wed, 27 Jun 2012 20:11:43 +0000 (16:11 -0400)]
jsoninfo: updated interface config info (LQ mults, emission intervals, validity times, etc.)

6 years agoPUD: clear speed and direction when stationary
Ferry Huberts [Wed, 27 Jun 2012 12:49:18 +0000 (14:49 +0200)]
PUD: clear speed and direction when stationary

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: fix averaging of direction
Ferry Huberts [Wed, 27 Jun 2012 12:01:49 +0000 (14:01 +0200)]
PUD: fix averaging of direction

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: fix snprintf length confusion
Ferry Huberts [Wed, 27 Jun 2012 09:42:19 +0000 (11:42 +0200)]
PUD: fix snprintf length confusion

Noticed because the track/direction output was wrong

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agojsoninfo: add data from /sys/class/net/if/wireless to /interfaces
Hans-Christoph Steiner [Tue, 26 Jun 2012 20:35:00 +0000 (16:35 -0400)]
jsoninfo: add data from /sys/class/net/if/wireless to /interfaces

6 years agojsoninfo: added examples using curl and wget to the README
Hans-Christoph Steiner [Tue, 26 Jun 2012 18:18:56 +0000 (14:18 -0400)]
jsoninfo: added examples using curl and wget to the README

6 years agojsoninfo: updated README with description of what this plugin is for
Hans-Christoph Steiner [Tue, 26 Jun 2012 17:51:26 +0000 (13:51 -0400)]
jsoninfo: updated README with description of what this plugin is for

6 years agoquagga: Fix OLSR recursive nexthop selection
Vasilis Tsiligiannis [Tue, 26 Jun 2012 15:31:57 +0000 (18:31 +0300)]
quagga: Fix OLSR recursive nexthop selection

6 years agoPUD: nmealib: do not optimise when compiling with debug
Ferry Huberts [Tue, 26 Jun 2012 09:07:14 +0000 (11:07 +0200)]
PUD: nmealib: do not optimise when compiling with debug

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoolsrd-adhoc-setup: try using "nmcli dev disconnect" instead of "wifi off" since somet...
Hans-Christoph Steiner [Tue, 26 Jun 2012 02:24:23 +0000 (22:24 -0400)]
olsrd-adhoc-setup: try using "nmcli dev disconnect" instead of "wifi off" since sometimes that unloads the wifi driver

6 years agoolsrd-adhoc-setup: accept interface, channel, SSID, and BSSID as args; default to...
Hans-Christoph Steiner [Tue, 26 Jun 2012 02:23:33 +0000 (22:23 -0400)]
olsrd-adhoc-setup: accept interface, channel, SSID, and BSSID as args; default to commotion net

6 years agofix all man page warnings: Debian/Ubuntu don't have T<, T> and URL macros
Hans-Christoph Steiner [Tue, 26 Jun 2012 00:05:33 +0000 (20:05 -0400)]
fix all man page warnings: Debian/Ubuntu don't have T<, T> and URL macros

fixes bug #0000024: olsrd.conf.5 manpage has warnings

6 years agoPUD: fix 2 warnings
Ferry Huberts [Mon, 25 Jun 2012 16:13:32 +0000 (18:13 +0200)]
PUD: fix 2 warnings

src/configuration.c: In function 'getRxNonOlsrInterfaceName':
src/configuration.c:373: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:487: warning: shadowed declaration is here
src/configuration.c: In function 'getTxNonOlsrInterfaceName':
src/configuration.c:645: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:487: warning: shadowed declaration is here

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: fix setting up network interface.
Ferry Huberts [Mon, 25 Jun 2012 13:28:22 +0000 (15:28 +0200)]
PUD: fix setting up network interface.

Broke in 63e28a0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: fix getting the update flags in gpsFromOlsr
Ferry Huberts [Mon, 25 Jun 2012 11:24:31 +0000 (13:24 +0200)]
PUD: fix getting the update flags in gpsFromOlsr

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: remove config.h include
Ferry Huberts [Mon, 25 Jun 2012 13:46:31 +0000 (15:46 +0200)]
PUD: nmealib: remove config.h include

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: the pud plugin requires NDK r8, so document this
Hans-Christoph Steiner [Fri, 22 Jun 2012 23:07:08 +0000 (19:07 -0400)]
android: the pud plugin requires NDK r8, so document this

6 years agoolsrd: fix stack corruption in net_output()
Jo-Philipp Wich [Fri, 22 Jun 2012 01:17:59 +0000 (03:17 +0200)]
olsrd: fix stack corruption in net_output()

The net_output() function indirectly uses the stack variables dst and dst6
outside of the scope they're declared in, this might leads to olsr_sendto()
being called with a corrupted destination sockaddr_in.

This failure condition can be observed in the log, olsrd will continuosly
print "sendto(v4): Invalid Argument" or a similar message. On ARM it has been
reported to result in "Unsupported Address Family".

This bug became apparant on a custon OpenWrt x86_64 uClibc target using the
Linaro GCC 4.7-2012.04 compiler, it has been reported for an unspecified ARM
target as well.

The offending code seems to be unchanged since 2008 and it does not cause
issues on 32bit systems and/or with older (Linaro) GCC versions, but the
compiler used in our tests seems to perform more aggressive optimizations
leading to a stack corruption.

6 years agolinux: add forgotten SHAREDIR make variable
Ferry Huberts [Thu, 21 Jun 2012 18:23:28 +0000 (20:23 +0200)]
linux: add forgotten SHAREDIR make variable

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years ago(GNU/Linux build) add support for prefix, libdir, sbindir, etc vars and set default...
Hans-Christoph Steiner [Tue, 5 Jun 2012 19:53:41 +0000 (15:53 -0400)]
(GNU/Linux build) add support for prefix, libdir, sbindir, etc vars and set default prefix to /usr/local

6 years agoandroid: regex: revert fixes
Ferry Huberts [Wed, 20 Jun 2012 18:57:03 +0000 (20:57 +0200)]
android: regex: revert fixes

because Hans politely asked me to

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: use fully qualified path to ldconfig
Ferry Huberts [Wed, 20 Jun 2012 16:53:28 +0000 (18:53 +0200)]
PUD: use fully qualified path to ldconfig

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoolsrd-adhoc-setup: replace hard-coded if name with the right variable
Hans-Christoph Steiner [Wed, 20 Jun 2012 16:28:44 +0000 (12:28 -0400)]
olsrd-adhoc-setup: replace hard-coded if name with the right variable

6 years agoandroid: do not echo makefile commands for regex build
Ferry Huberts [Sat, 9 Jun 2012 08:57:59 +0000 (10:57 +0200)]
android: do not echo makefile commands for regex build

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: add to default Linux and Android make targets
Ferry Huberts [Tue, 19 Jun 2012 12:57:09 +0000 (14:57 +0200)]
PUD: add to default Linux and Android make targets

It now compile correctly on OpenWRT and Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: supported on Android
Ferry Huberts [Tue, 19 Jun 2012 07:01:07 +0000 (09:01 +0200)]
PUD: supported on Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: need an in_port_t typedef on Android
Ferry Huberts [Tue, 19 Jun 2012 07:21:21 +0000 (09:21 +0200)]
PUD: need an in_port_t typedef on Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: remove usage of getifaddrs
Ferry Huberts [Tue, 19 Jun 2012 09:39:38 +0000 (11:39 +0200)]
PUD: remove usage of getifaddrs

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: make name a normal char array in _TRxTxNetworkInterface
Ferry Huberts [Tue, 19 Jun 2012 09:37:27 +0000 (11:37 +0200)]
PUD: make name a normal char array in _TRxTxNetworkInterface

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: remove ipAddress from _TRxTxNetworkInterface struct
Ferry Huberts [Tue, 19 Jun 2012 09:25:05 +0000 (11:25 +0200)]
PUD: remove ipAddress from _TRxTxNetworkInterface struct

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: minor documentation tag fixup
Ferry Huberts [Tue, 19 Jun 2012 09:34:22 +0000 (11:34 +0200)]
PUD: minor documentation tag fixup

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: import v0.6.10
Ferry Huberts [Tue, 19 Jun 2012 11:17:52 +0000 (13:17 +0200)]
PUD: nmealib: import v0.6.10

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: get rid of NMEA_ASSERT
Ferry Huberts [Tue, 19 Jun 2012 11:04:33 +0000 (13:04 +0200)]
PUD: nmealib: get rid of NMEA_ASSERT

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: remove unused NMEA_INLINE define
Ferry Huberts [Tue, 19 Jun 2012 10:40:29 +0000 (12:40 +0200)]
PUD: nmealib: remove unused NMEA_INLINE define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: get rid of NMEA_POSFIX define
Ferry Huberts [Tue, 19 Jun 2012 10:40:04 +0000 (12:40 +0200)]
PUD: nmealib: get rid of NMEA_POSFIX define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix some eclipse warnings
Ferry Huberts [Tue, 19 Jun 2012 11:34:57 +0000 (13:34 +0200)]
android: regex: fix some eclipse warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoMakefile.inc: workaround for Android WARNINGS flags
Ferry Huberts [Tue, 19 Jun 2012 10:55:31 +0000 (12:55 +0200)]
Makefile.inc: workaround for Android WARNINGS flags

until we have a real solution

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: wireformat: no need to check OS, done by PUD makefile
Ferry Huberts [Sat, 9 Jun 2012 09:34:04 +0000 (11:34 +0200)]
PUD: wireformat: no need to check OS, done by PUD makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: nmealib: remove -Werror from CFLAGS
Ferry Huberts [Sat, 9 Jun 2012 08:51:14 +0000 (10:51 +0200)]
PUD: nmealib: remove -Werror from CFLAGS

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: remove -Werror from CFLAGS
Ferry Huberts [Fri, 8 Jun 2012 21:58:23 +0000 (23:58 +0200)]
PUD: remove -Werror from CFLAGS

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoPUD: improve unsupported OS reporting
Ferry Huberts [Fri, 8 Jun 2012 21:58:01 +0000 (23:58 +0200)]
PUD: improve unsupported OS reporting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: add to default Linux and Android make targets
Ferry Huberts [Sat, 9 Jun 2012 09:03:17 +0000 (11:03 +0200)]
sgwdynspeed: add to default Linux and Android make targets

It now compile correctly on OpenWRT and Android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: supported on android
Ferry Huberts [Fri, 8 Jun 2012 19:26:01 +0000 (21:26 +0200)]
sgwdynspeed: supported on android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agosgwdynspeed: remove -Werror from CFLAGS
Ferry Huberts [Sat, 9 Jun 2012 08:50:54 +0000 (10:50 +0200)]
sgwdynspeed: remove -Werror from CFLAGS

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compiler warnings
Ferry Huberts [Fri, 8 Jun 2012 19:10:34 +0000 (21:10 +0200)]
android: regex: fix compiler warnings

../../android/regex/engine.c: In function 'sdissect':
../../android/regex/engine.c:312: warning: switch missing default case

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compiler warnings
Ferry Huberts [Fri, 8 Jun 2012 19:06:42 +0000 (21:06 +0200)]
android: regex: fix compiler warnings

../../android/regex/regcomp.c: In function 'pluscount':
../../android/regex/regcomp.c:1503: warning: switch missing default case

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compiler warnings
Ferry Huberts [Fri, 8 Jun 2012 19:04:54 +0000 (21:04 +0200)]
android: regex: fix compiler warnings

../../android/regex/regcomp.c: In function 'mcinvert':
../../android/regex/regcomp.c:1193: warning: unused parameter 'p'
../../android/regex/regcomp.c: In function 'mccase':
../../android/regex/regcomp.c:1206: warning: unused parameter 'p'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid:regex: fix compiler warning
Ferry Huberts [Fri, 8 Jun 2012 18:58:42 +0000 (20:58 +0200)]
android:regex: fix compiler warning

../../android/regex/regcomp.c: In function 'regcomp':
../../android/regex/regcomp.c:171: warning: cast discards qualifiers from pointer target type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compiler warnings
Ferry Huberts [Fri, 8 Jun 2012 18:56:02 +0000 (20:56 +0200)]
android: regex: fix compiler warnings

../../android/regex/regerror.c:54: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:54: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:55: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:55: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:56: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:56: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:57: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:57: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:58: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:58: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:59: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:59: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:60: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:60: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:61: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:61: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:62: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:62: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:63: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:63: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:64: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:64: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:65: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:65: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:66: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:66: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:67: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:67: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:68: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:68: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:69: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:69: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:70: warning: initialization discards qualifiers from pointer target type
../../android/regex/regerror.c:70: warning: initialization discards qualifiers from pointer target type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compile warnings
Ferry Huberts [Fri, 8 Jun 2012 18:49:40 +0000 (20:49 +0200)]
android: regex: fix compile warnings

../../android/regex/cname.h:43: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:44: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:45: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:46: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:47: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:48: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:49: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:50: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:51: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:52: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:53: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:54: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:55: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:56: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:57: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:58: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:59: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:60: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:61: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:62: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:63: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:64: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:65: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:66: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:67: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:68: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:69: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:70: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:71: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:72: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:73: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:74: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:75: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:76: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:77: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:78: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:79: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:80: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:81: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:82: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:83: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:84: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:85: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:86: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:87: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:88: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:89: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:90: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:91: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:92: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:93: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:94: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:95: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:96: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:97: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:98: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:99: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:100: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:101: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:102: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:103: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:104: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:105: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:106: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:107: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:108: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:109: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:110: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:111: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:112: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:113: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:114: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:115: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:116: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:117: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:118: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:119: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:120: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:121: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:122: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:123: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:124: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:125: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:126: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:127: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:128: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:129: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:130: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:131: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:132: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:133: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:134: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:135: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:136: error: initialization discards qualifiers from pointer target type
../../android/regex/cname.h:137: error: initialization discards qualifiers from pointer target type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: regex: fix compile warnings
Ferry Huberts [Fri, 8 Jun 2012 18:49:12 +0000 (20:49 +0200)]
android: regex: fix compile warnings

In file included from ../../android/regex/regcomp.c:48:
../../android/regex/cclass.h:44: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:44: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:44: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:46: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:46: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:47: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:48: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:48: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:48: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:49: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:49: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:49: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:51: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:51: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:51: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:52: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:52: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:54: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:55: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:55: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:56: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:57: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:57: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:59: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:60: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:60: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:61: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:62: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:62: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:62: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:63: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:63: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:64: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:65: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:65: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:66: error: initialization discards qualifiers from pointer target type
../../android/regex/cclass.h:67: error: initialization discards qualifiers from pointer target type

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agohttpinfo: fix compile warning
Ferry Huberts [Fri, 8 Jun 2012 18:33:31 +0000 (20:33 +0200)]
httpinfo: fix compile warning

src/olsrd_httpinfo.c: In function 'build_ipaddr_link':
src/olsrd_httpinfo.c:745: error: passing argument 1 of 'gethostbyaddr' from incompatible pointer type
/home/ferry/android/android-ndk-r8/platforms/android-4/arch-arm/usr/include/netdb.h:204: note: expected 'const char *' but argument is of type 'const union olsr_ip_addr * const'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agounix: fix compile warning
Ferry Huberts [Fri, 8 Jun 2012 18:24:30 +0000 (20:24 +0200)]
unix: fix compile warning

src/unix/log.c: In function 'olsr_openlog':
src/unix/log.c:56: error: unused parameter 'ident'

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