olsrd.git
7 years agoNew feature: support for Linux NL802.11 wireless link information in cost calculation.
Frank de Brabander [Tue, 20 Mar 2012 15:09:45 +0000 (16:09 +0100)]
New feature: support for Linux NL802.11 wireless link information in cost calculation.

Signed-off-by: Frank de Brabander <brabander@fox-it.com>
7 years agoone line was missing
Markus Kittenberger [Wed, 7 Mar 2012 21:39:33 +0000 (22:39 +0100)]
one line was missing

7 years agofix bsd RTM_GATEWAY routing flags detection
Markus Kittenberger [Wed, 7 Mar 2012 21:37:50 +0000 (22:37 +0100)]
fix bsd RTM_GATEWAY routing flags detection

7 years agop2pd: dump_packet is only used within the INCLUDE_DEBUG_OUTPUT define
Ferry Huberts [Fri, 13 Jan 2012 18:28:47 +0000 (19:28 +0100)]
p2pd: dump_packet is only used within the INCLUDE_DEBUG_OUTPUT define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: dynamic_files is only used within the ADMIN_INTERFACE define
Ferry Huberts [Fri, 13 Jan 2012 18:27:50 +0000 (19:27 +0100)]
httpinfo: dynamic_files is only used within the ADMIN_INTERFACE define

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: link is unused, comment it out
Ferry Huberts [Fri, 13 Jan 2012 18:24:49 +0000 (19:24 +0100)]
linux-gtk: link is unused, comment it out

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: fix a warning about a missing break statement
Ferry Huberts [Fri, 13 Jan 2012 17:53:30 +0000 (18:53 +0100)]
linux-gtk: fix a warning about a missing break statement

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: include glib.h too
Ferry Huberts [Fri, 13 Jan 2012 18:23:26 +0000 (19:23 +0100)]
linux-gtk: include glib.h too

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: also remove olsrd-gui on clean
Ferry Huberts [Fri, 13 Jan 2012 18:32:05 +0000 (19:32 +0100)]
linux-gtk: also remove olsrd-gui on clean

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: link with libm
Ferry Huberts [Fri, 13 Jan 2012 18:25:12 +0000 (19:25 +0100)]
linux-gtk: link with libm

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux-gtk: .gitignore the compiled program
Ferry Huberts [Fri, 13 Jan 2012 18:26:01 +0000 (19:26 +0100)]
linux-gtk: .gitignore the compiled program

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agosmart gateway: add threshold configuration parameter
Ferry Huberts [Mon, 12 Dec 2011 13:12:08 +0000 (14:12 +0100)]
smart gateway: add threshold configuration parameter

We can now keep choosing a better gateway by setting the
configuration setting "SmartGatewayThreshold" to a value
larger than zero.

The costs for a new smart gateway must be less than the
costs of the current smart gateway multiplied by
SmartGatewayThreshold in order for it to be chosen as
the new smart gateway.

This new configuration parameter has a similar function
and meaning as the NAT threshold configuration parameter.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agosmart gateway: all parameters of smartgw_tunnel_monitor are unused
Ferry Huberts [Tue, 6 Dec 2011 12:41:08 +0000 (13:41 +0100)]
smart gateway: all parameters of smartgw_tunnel_monitor are unused

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agosmart gateway: remove useless code in smartgw_tunnel_monitor
Ferry Huberts [Mon, 5 Dec 2011 13:46:59 +0000 (14:46 +0100)]
smart gateway: remove useless code in smartgw_tunnel_monitor

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agosmart gateway: remove duplicated calls
Ferry Huberts [Mon, 5 Dec 2011 13:41:34 +0000 (14:41 +0100)]
smart gateway: remove duplicated calls

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agosmart gateway: fix spelling of 'lazy'
Ferry Huberts [Thu, 3 Nov 2011 12:31:06 +0000 (13:31 +0100)]
smart gateway: fix spelling of 'lazy'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux: tunnel: report tunnel setup too
Ferry Huberts [Fri, 9 Dec 2011 12:26:47 +0000 (13:26 +0100)]
linux: tunnel: report tunnel setup too

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogui: linux: align olsr_ip_addr to olsr definition of it
Ferry Huberts [Tue, 6 Dec 2011 15:51:10 +0000 (16:51 +0100)]
gui: linux: align olsr_ip_addr to olsr definition of it

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agomdns: firm up IsMulticast
Ferry Huberts [Tue, 6 Dec 2011 12:08:59 +0000 (13:08 +0100)]
mdns: firm up IsMulticast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agobmf: firm up IsMulticast
Ferry Huberts [Tue, 6 Dec 2011 12:08:47 +0000 (13:08 +0100)]
bmf: firm up IsMulticast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agop2pd: remove unused IsBroadcast
Ferry Huberts [Tue, 6 Dec 2011 11:44:53 +0000 (12:44 +0100)]
p2pd: remove unused IsBroadcast

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agop2pd: fix setting the 'multicast' MAC address for IPv4
Ferry Huberts [Tue, 6 Dec 2011 12:02:32 +0000 (13:02 +0100)]
p2pd: fix setting the 'multicast' MAC address for IPv4

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agop2pd: fix IsMulticastv4
Ferry Huberts [Tue, 6 Dec 2011 11:47:06 +0000 (12:47 +0100)]
p2pd: fix IsMulticastv4

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoFix metric parsing for Quagga 0.99.x (thanks Jon Andersson)
Vasilis Tsiligiannis [Wed, 2 Nov 2011 14:08:38 +0000 (16:08 +0200)]
Fix metric parsing for Quagga 0.99.x (thanks Jon Andersson)

7 years agoconsolidate comments regarding if olsrd has to delete, or can rely on routes getting...
Markus Kittenberger [Mon, 10 Oct 2011 16:55:52 +0000 (18:55 +0200)]
consolidate comments regarding if olsrd has to delete, or can rely on routes getting overwritten

7 years agodo not (falsely) rely on NLFM_REPLACE with fib_metric != FLAT
Markus Kittenberger [Mon, 10 Oct 2011 16:37:56 +0000 (18:37 +0200)]
do not (falsely) rely on NLFM_REPLACE with fib_metric != FLAT

7 years agospelling: it's 'receiving', not 'recieving'
Ferry Huberts [Mon, 10 Oct 2011 13:28:32 +0000 (15:28 +0200)]
spelling: it's 'receiving', not 'recieving'

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agobmf: fix warnings
Ferry Huberts [Mon, 10 Oct 2011 13:09:06 +0000 (15:09 +0200)]
bmf: fix warnings

src/NetworkInterfaces.c: In function 'AddMulticastRoute':
src/NetworkInterfaces.c:1893: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1893: note: initialized from here
src/NetworkInterfaces.c:1894: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1894: note: initialized from here
src/NetworkInterfaces.c:1895: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1895: note: initialized from here
src/NetworkInterfaces.c: In function 'DeleteMulticastRoute':
src/NetworkInterfaces.c:1938: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1938: note: initialized from here
src/NetworkInterfaces.c:1939: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1939: note: initialized from here
src/NetworkInterfaces.c:1940: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
src/NetworkInterfaces.c:1940: note: initialized from here

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoparser: fix warnings
Ferry Huberts [Mon, 10 Oct 2011 12:01:21 +0000 (14:01 +0200)]
parser: fix warnings

src/parser.c: In function 'olsr_input':
src/parser.c:467: warning: dereferencing pointer 'from.100' does break strict-aliasing rules
src/parser.c:467: note: initialized from here
src/parser.c:470: warning: dereferencing pointer 'from.101' does break strict-aliasing rules
src/parser.c:470: note: initialized from here

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoUpdate version to pre-0.6.3
Henning Rogge [Mon, 3 Oct 2011 18:32:39 +0000 (20:32 +0200)]
Update version to pre-0.6.3

7 years agoAdd changelog for 0.6.2 OLSRD_0_6_2
Henning Rogge [Mon, 3 Oct 2011 18:30:15 +0000 (20:30 +0200)]
Add changelog for 0.6.2

7 years agoUpdate version to 0.6.2
Henning Rogge [Mon, 3 Oct 2011 18:15:43 +0000 (20:15 +0200)]
Update version to 0.6.2

7 years agoSanitize the kernel check function for linux
Henning Rogge [Sat, 1 Oct 2011 08:05:00 +0000 (10:05 +0200)]
Sanitize the kernel check function for linux

7 years ago3 != 2
Markus Kittenberger [Fri, 30 Sep 2011 07:47:11 +0000 (09:47 +0200)]
3 != 2

7 years agoFix Linux kernel version check for >= 3.x.x
root [Thu, 29 Sep 2011 19:10:38 +0000 (19:10 +0000)]
Fix Linux kernel version check for >= 3.x.x

7 years agoremove uneeded netlink flags/comments
root [Wed, 21 Sep 2011 20:04:10 +0000 (20:04 +0000)]
remove uneeded netlink flags/comments

7 years agoFix default policy rule priority
Henning Rogge [Wed, 21 Sep 2011 18:57:32 +0000 (20:57 +0200)]
Fix default policy rule priority

7 years agodo not use onlink flag, for network routes without gateway (e.g. smartgateway default...
Markus Kittenberger [Tue, 20 Sep 2011 21:01:11 +0000 (23:01 +0200)]
do not use onlink flag, for network routes without gateway (e.g. smartgateway default route via ptp tunnel)

7 years agoDefault TosValue set to 192: CS6
Teco Boot [Wed, 14 Sep 2011 08:38:19 +0000 (10:38 +0200)]
Default TosValue set to 192: CS6

7 years agoTosValue redefined as TOS byte
{Teco Boot} [Wed, 14 Sep 2011 07:07:23 +0000 (09:07 +0200)]
TosValue redefined as TOS byte

7 years agoAllow TOS values of up to 31
Henning Rogge [Mon, 12 Sep 2011 07:17:49 +0000 (09:17 +0200)]
Allow TOS values of up to 31

7 years agoFix TOS settings for linux
Henning Rogge [Mon, 12 Sep 2011 07:11:08 +0000 (09:11 +0200)]
Fix TOS settings for linux

7 years agoclean up README-Olsr-Extensions file
Ferry Huberts [Mon, 22 Aug 2011 12:29:22 +0000 (14:29 +0200)]
clean up README-Olsr-Extensions file

Fix spelling and grammar mistakes.
Fix layout to a maximum of 80 columns wide.
Remove trailing whitespace.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoMerge branch 'stable' of git://olsr.org/olsrd into stable
Markus Kittenberger [Fri, 19 Aug 2011 16:29:39 +0000 (18:29 +0200)]
Merge branch 'stable' of git://olsr.org/olsrd into stable

7 years agoclean up 2 comments, and move a newline
Markus Kittenberger [Fri, 19 Aug 2011 16:28:21 +0000 (18:28 +0200)]
clean up 2 comments, and move a newline

7 years agoLinux: correctly set plugin library soname
Ferry Huberts [Thu, 18 Aug 2011 11:52:28 +0000 (13:52 +0200)]
Linux: correctly set plugin library soname

By convention, non-core libraries should start with the 'lib'
prefix on Linux systems. Currently this is not the case for the
olsrd plugin libraries.

Since renaming the libraries would break all configurations,
the soname of an olsrd plugin library is now correctly set
with the 'lib' prefix so that an 'ldconfig -l <library>' will
create the correct link.

This patch fixes the issue for Linux only, other platforms
are not touched since I don't have those platforms available.

To completely fix the issue, PLUGIN_FULLNAME must be set as:
  PLUGIN_FULLNAME ?= lib$(PLUGIN_NAME).so.$(PLUGIN_VER)
Doing this will rename all olsrd plugin libraries.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agobuild: do not print full commandlines
Ferry Huberts [Tue, 26 Jul 2011 15:08:26 +0000 (17:08 +0200)]
build: do not print full commandlines

Make the build less verbose, just print [CC] when compiling
and [LD] when linking.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoMakefile: sort plugins
Ferry Huberts [Mon, 25 Jul 2011 14:26:42 +0000 (16:26 +0200)]
Makefile: sort plugins

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoMakefile: add uninstall targets
Ferry Huberts [Mon, 25 Jul 2011 14:21:48 +0000 (16:21 +0200)]
Makefile: add uninstall targets

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agomini: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:21:18 +0000 (16:21 +0200)]
mini: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agop2pd: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:20:23 +0000 (16:20 +0200)]
p2pd: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agop2pd: add to Makefile
Ferry Huberts [Mon, 25 Jul 2011 14:19:55 +0000 (16:19 +0200)]
p2pd: add to Makefile

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agowatchdog: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:56 +0000 (16:17 +0200)]
watchdog: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agotxtinfo: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:38 +0000 (16:17 +0200)]
txtinfo: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agotas: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:25 +0000 (16:17 +0200)]
tas: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agosecure: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:14 +0000 (16:17 +0200)]
secure: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoquagga: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:16:59 +0000 (16:16 +0200)]
quagga: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agopgraph: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:16:36 +0000 (16:16 +0200)]
pgraph: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agonameservice: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:56 +0000 (16:15 +0200)]
nameservice: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agomdns: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:23 +0000 (16:15 +0200)]
mdns: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agohttpinfo: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:08 +0000 (16:15 +0200)]
httpinfo: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agodyn_gw_plain: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:43 +0000 (16:14 +0200)]
dyn_gw_plain: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agodyn_gw: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:25 +0000 (16:14 +0200)]
dyn_gw: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agodot_draw: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:10 +0000 (16:14 +0200)]
dot_draw: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agobmf: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:13:51 +0000 (16:13 +0200)]
bmf: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoarprefresh: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:13:24 +0000 (16:13 +0200)]
arprefresh: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agoMakefiles: define UNINSTALL_LIB macro
Ferry Huberts [Mon, 25 Jul 2011 14:09:24 +0000 (16:09 +0200)]
Makefiles: define UNINSTALL_LIB macro

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
7 years agofree rt_entry when deleting route
Markus Kittenberger [Wed, 10 Aug 2011 17:20:42 +0000 (17:20 +0000)]
free rt_entry when deleting route

7 years agoUpdated CHANGELOG with note about fixes for byte ordering.
Rusty Haddock [Fri, 5 Aug 2011 23:11:12 +0000 (18:11 -0500)]
Updated CHANGELOG with note about fixes for byte ordering.
Modified LoadPlugin configuration line in README_SECURE to use
use .so.0.6 instead of .so.0.5.  Again, to correspond with
my byte ordering fixes.

7 years agoRemove 'destination == gateway' routes workaround - should be fixed with new Quagga...
Vasilis Tsiligiannis [Wed, 13 Jul 2011 18:19:39 +0000 (21:19 +0300)]
Remove 'destination == gateway' routes workaround - should be fixed with new Quagga patch

7 years agoUpdate Quagga 0.99.x patch to version 0.99.18
Vasilis Tsiligiannis [Wed, 13 Jul 2011 18:17:20 +0000 (21:17 +0300)]
Update Quagga 0.99.x patch to version 0.99.18

7 years agoBumped library version to 0.6 because of the serious differences.
Rusty Haddock [Sat, 2 Jul 2011 20:37:07 +0000 (15:37 -0500)]
Bumped library version to 0.6 because of the serious differences.
This means that your 'olsrd.conf' files will need to be modified
as well to (ab)use the new library.

7 years agoRemoved the code that I changed & commented out per request from Henning.
Rusty Haddock [Sat, 2 Jul 2011 19:01:23 +0000 (14:01 -0500)]
Removed the code that I changed & commented out per request from Henning.

7 years agoAdjustments made to ensure data going out is converted to network
Rusty Haddock [Fri, 1 Jul 2011 21:35:26 +0000 (16:35 -0500)]
Adjustments made to ensure data going out is converted to network
byte ordering.  Also, to ensure incoming data is converted before
it is used and before checksums are calculated as well.
06/06/2011 - Rusty Haddock AE5AE -- for the HSMM-MESH project.

7 years agoMakefile.inc: remove duplicate -Wpointer-arith
Ferry Huberts [Thu, 30 Jun 2011 15:44:00 +0000 (17:44 +0200)]
Makefile.inc: remove duplicate -Wpointer-arith

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoadd /2hop command to txtinfo
Markus Kittenberger [Thu, 23 Jun 2011 09:21:32 +0000 (11:21 +0200)]
add /2hop command to txtinfo

8 years agoolsr_cookie: introduce OLSR_COOKIE_DEBUG define
Ferry Huberts [Thu, 9 Jun 2011 11:13:25 +0000 (13:13 +0200)]
olsr_cookie: introduce OLSR_COOKIE_DEBUG define

src/olsr_cookie.c:213:9: error: variable ‘reuse’ set but not used [-Werror=unused-but-set-variable]
src/olsr_cookie.c:273:9: error: variable ‘reuse’ set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoolsrd_txtinfo: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 11:08:16 +0000 (13:08 +0200)]
olsrd_txtinfo: remove unused variable

src/olsrd_txtinfo.c:450:7: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: remove unused variables
Ferry Huberts [Thu, 9 Jun 2011 11:07:09 +0000 (13:07 +0200)]
p2pd: remove unused variables

src/p2pd.c:412:12: warning: variable ‘vtime’ set but not used [-Wunused-but-set-variable]
src/p2pd.c:622:23: warning: variable ‘origIp’ set but not used [-Wunused-but-set-variable]
src/p2pd.c:617:22: error: unused variable ‘src’ [-Werror=unused-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd/NetworkInterfaces: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 11:05:23 +0000 (13:05 +0200)]
p2pd/NetworkInterfaces: remove unused variable

src/NetworkInterfaces.c:413:7: warning: variable ‘nOpened’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agonameservice: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 11:04:02 +0000 (13:04 +0200)]
nameservice: remove unused variable

src/nameservice.c:658:12: warning: variable ‘seqno’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agomdns: remove unused variables
Ferry Huberts [Thu, 9 Jun 2011 08:44:49 +0000 (10:44 +0200)]
mdns: remove unused variables

src/mdns.c:159:12: warning: variable ‘vtime’ set but not used [-Wunused-but-set-variable]
src/mdns.c:339:23: warning: variable ‘origIp’ set but not used [-Wunused-but-set-variable]
src/mdns.c:334:22: warning: unused variable ‘src’ [-Wunused-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agomdns/NetworkInterfaces: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 08:41:43 +0000 (10:41 +0200)]
mdns/NetworkInterfaces: remove unused variable

src/NetworkInterfaces.c:424:7: warning: variable ‘nOpened’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoolsrd_httpinfo: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 08:39:40 +0000 (10:39 +0200)]
olsrd_httpinfo: remove unused variable

src/olsrd_httpinfo.c:327:9: warning: variable ‘addr’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agotc_set: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 08:32:18 +0000 (10:32 +0200)]
tc_set: remove unused variable

src/tc_set.c:421:17: warning: variable ‘old’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoneighbor_table: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 08:15:04 +0000 (10:15 +0200)]
neighbor_table: remove unused variable

src/neighbor_table.c:73:26: warning: variable ‘nbr’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoip_frontend: remove unused variable
Ferry Huberts [Thu, 9 Jun 2011 08:28:20 +0000 (10:28 +0200)]
ip_frontend: remove unused variable

src/ipc_frontend.c:355:9: warning: variable ‘msg’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoFix typo in compiler options
Henning Rogge [Thu, 9 Jun 2011 08:51:56 +0000 (10:51 +0200)]
Fix typo in compiler options

8 years agouse correct scope, and improve error messages
root [Sat, 4 Jun 2011 21:54:49 +0000 (23:54 +0200)]
use correct scope, and improve error messages

8 years agoreduce CPU load in dot_draw
L. Aaron Kaplan [Tue, 31 May 2011 13:35:21 +0000 (15:35 +0200)]
reduce CPU load in dot_draw

8 years agoactivate Routing/Forwarindg for WIN32 aswell (again) *G
Markus Kittenberger [Sat, 21 May 2011 20:55:17 +0000 (22:55 +0200)]
activate Routing/Forwarindg for WIN32 aswell (again) *G

8 years agouse onlink flag for all routes (fixes src ip issues, and removes inter-route dependen...
Markus Kittenberger [Sat, 21 May 2011 20:23:06 +0000 (22:23 +0200)]
use onlink flag for all routes (fixes src ip issues, and removes inter-route dependencies)

8 years agoRevert "specify gateway (=destination) in routes to direct neighbours, to fix problem...
Markus Kittenberger [Sat, 21 May 2011 13:35:15 +0000 (15:35 +0200)]
Revert "specify gateway (=destination) in routes to direct neighbours, to fix problems with wrong source address selection for traffic routed over such routes by the linux kernel"

This reverts commit e22fd2a3f95f780063a51cc1b83682463e2c9071.

8 years agospecify gateway (=destination) in routes to direct neighbours, to fix problems with...
Markus Kittenberger [Sat, 21 May 2011 11:50:38 +0000 (13:50 +0200)]
specify gateway (=destination) in routes to direct neighbours, to fix problems with wrong source address selection for traffic routed over such routes by the linux kernel

8 years agoAdded mips and mips64 to list of -fPIC architectures
Roland Stigge [Sat, 7 May 2011 11:44:11 +0000 (13:44 +0200)]
Added mips and mips64 to list of -fPIC architectures

8 years agobugfix delete_kernel_routes win32
Gabriela Botea [Sat, 7 May 2011 09:12:13 +0000 (12:12 +0300)]
bugfix delete_kernel_routes win32

8 years agoThe default value for SmartGateway is "no", fix that here to not confuse people
Manuel Munz [Tue, 3 May 2011 20:35:19 +0000 (22:35 +0200)]
The default value for SmartGateway is "no", fix that here to not confuse people

8 years agoFix SmartGwUplink "none" case
Henning Rogge [Sun, 1 May 2011 11:12:02 +0000 (13:12 +0200)]
Fix SmartGwUplink "none" case

8 years agofix ctrl-c in win32
Markus Kittenberger [Mon, 25 Apr 2011 18:01:27 +0000 (20:01 +0200)]
fix ctrl-c in win32

8 years agofix win32 select issue
Markus Kittenberger [Mon, 25 Apr 2011 17:39:30 +0000 (19:39 +0200)]
fix win32 select issue