Ferry Huberts [Tue, 4 Dec 2012 12:18:33 +0000 (13:18 +0100)]
gateway: use fixed tunnel names in/for multi-gateway mode
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 12:04:48 +0000 (13:04 +0100)]
gateway: initialise the egress interface names in/for multi-gateway mode
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 12:03:53 +0000 (13:03 +0100)]
gateway: initialise a set of fixed tunnel names in/for multi-gateway mode
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 11:56:19 +0000 (12:56 +0100)]
gateway: add SmartGatewayPolicyRoutingScript configuration parameter
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 11:48:14 +0000 (12:48 +0100)]
gateway: add SmartGatewayMarkOffset{Egress,Tunnels} configuration parameters
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 11:41:17 +0000 (12:41 +0100)]
gateway: add SmartGatewayEgressInterfaces configuration parameter
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 20 Nov 2012 11:07:53 +0000 (12:07 +0100)]
gateway: use SmartGatewayUseCount setting the the gateway lists
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 11:25:07 +0000 (12:25 +0100)]
gateway: add SmartGatewayUseCount configuration parameter
We can now configure multiple 'active' gateways (although we only
allow 1 for now until the functionality is complete).
Multiple active gateways are used to reduce breaking connections
in a dynamic network.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 10:28:31 +0000 (11:28 +0100)]
gateway: remove the worst gateway before adding new one
when the gateway list is full, so that we never overrun
the list.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 09:50:35 +0000 (10:50 +0100)]
gateway: let the gateway code determine the tunnel name
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 27 Nov 2012 12:33:31 +0000 (13:33 +0100)]
kernel_route: olsr_os_inetgw_tunnel_route can now take the table
as an optional parameter.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Tue, 4 Dec 2012 14:45:54 +0000 (15:45 +0100)]
json_info: only output smart gateway info on Linux
Since it's only available on Linux
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Fri, 9 Nov 2012 09:53:10 +0000 (10:53 +0100)]
gateway: keep track of the active gateways in a list
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Mon, 5 Nov 2012 12:12:48 +0000 (13:12 +0100)]
gateway: add gateway_list.{c,h}
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Thu, 8 Nov 2012 14:33:26 +0000 (15:33 +0100)]
gateway: simplify by using the new costs interface
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Thu, 8 Nov 2012 14:26:08 +0000 (15:26 +0100)]
gateway: add interface to get the gateway costs
We need it when we are going to keep the active gateway(s) in a list
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Wed, 7 Nov 2012 09:12:21 +0000 (10:12 +0100)]
gateway: add path_cost to 'set gateway' interface
We need it when we are going to keep the active gateway(s) in a list
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Mon, 5 Nov 2012 12:53:58 +0000 (13:53 +0100)]
gateway: lazily allocate the current gateway structs
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Mon, 5 Nov 2012 12:47:40 +0000 (13:47 +0100)]
gateway: store current gateway(s) in a struct
This simplifies the administration of the currently
active gateways.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Henning Rogge <hrogge@googlemail.com>
Ferry Huberts [Mon, 10 Dec 2012 13:53:53 +0000 (14:53 +0100)]
Update version after branch of v0.6.5
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 13:53:53 +0000 (14:53 +0100)]
Branch v0.6.5
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 13:52:57 +0000 (14:52 +0100)]
Merge branch 'release-0.6.4' into mmmm
* release-0.6.4:
release: the script can now also create a release branch
release: convert some code into getPrevRelTag function
release: convert some code into checkGitSigningKeyIsConfigured function
release: convert some code into checkIsOlsrdGitCheckout function
release: move into the base directory earlier
release: fix usage of literal dot in regular expressions
release: make gitIsGitDirectory do the correct thing
release: move the stringTrim function up a bit
Ferry Huberts [Mon, 10 Dec 2012 13:41:40 +0000 (14:41 +0100)]
release: the script can now also create a release branch
and update the versions correctly
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:41:36 +0000 (11:41 +0100)]
release: convert some code into getPrevRelTag function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:38:20 +0000 (11:38 +0100)]
release: convert some code into checkGitSigningKeyIsConfigured function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:35:46 +0000 (11:35 +0100)]
release: convert some code into checkIsOlsrdGitCheckout function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:34:50 +0000 (11:34 +0100)]
release: move into the base directory earlier
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 12:57:07 +0000 (13:57 +0100)]
release: fix usage of literal dot in regular expressions
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:30:13 +0000 (11:30 +0100)]
release: make gitIsGitDirectory do the correct thing
Some relevant code was left commented out from debugging
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 10 Dec 2012 10:29:03 +0000 (11:29 +0100)]
release: move the stringTrim function up a bit
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 23:26:02 +0000 (00:26 +0100)]
doc: do not generate documentation for gui code
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 23:23:09 +0000 (00:23 +0100)]
doc: fix win32 specific documentation tags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 23:23:36 +0000 (00:23 +0100)]
doc: fix bsd specific documentation tags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 23:23:29 +0000 (00:23 +0100)]
doc: fix unix specific documentation tags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 23:01:58 +0000 (00:01 +0100)]
doc: fix linux specific documentation tags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 22:36:38 +0000 (23:36 +0100)]
doc: fix common documentation tags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 24 Jul 2012 07:25:49 +0000 (09:25 +0200)]
doc: add doxygen documentation generation
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 5 Dec 2012 22:32:10 +0000 (23:32 +0100)]
linux: put #ifdef __linux__ around code
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 29 Nov 2012 18:38:36 +0000 (19:38 +0100)]
gateway: only check smart gateway configuration on linux
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 29 Nov 2012 20:44:47 +0000 (21:44 +0100)]
pud: enable dynamic polling of the position file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 29 Nov 2012 20:45:40 +0000 (21:45 +0100)]
cookie: raise the number of cookies
When running many plugins, I run into the cookie limit.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 29 Nov 2012 14:39:34 +0000 (15:39 +0100)]
pud: put plugin config in olsrd.conf.sample
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 29 Nov 2012 14:36:49 +0000 (15:36 +0100)]
sgwdynspeed: put plugin config in olsrd.conf.sample
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 19 Nov 2012 07:45:47 +0000 (08:45 +0100)]
bmf: check minimumLength against buffer size
minimumLength includes headerLeangth, but is larger and the most
accurate value we can use.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Henning Rogge [Sun, 18 Nov 2012 19:06:43 +0000 (20:06 +0100)]
Make sure calculated header length does not skip over buffer
Henning Rogge [Sun, 18 Nov 2012 19:00:47 +0000 (20:00 +0100)]
Remove unnecessary asserts
CID 739626 (#1 of 2): Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
CID 739626 (#2 of 2): Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
Henning Rogge [Sun, 18 Nov 2012 18:53:27 +0000 (19:53 +0100)]
Cleanup error handling in ipc_init()
Ferry Huberts [Fri, 16 Nov 2012 13:17:34 +0000 (14:17 +0100)]
Merge branch 'release-0.6.4'
* release-0.6.4:
main: add release script
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 16 Nov 2012 13:16:08 +0000 (14:16 +0100)]
Changelog: remove 0.6.5 preliminary changelog
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 16 Nov 2012 13:09:58 +0000 (14:09 +0100)]
Update version after release of v0.6.4
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 16 Nov 2012 13:02:48 +0000 (14:02 +0100)]
main: add release script
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 13 Nov 2012 14:03:42 +0000 (15:03 +0100)]
main: remove -dispin and -dispout command line options
Because we actually remove print_packet: tcpdump can parse
olsr packets (for years now already) so print_packet is no
longer needed.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Tue, 13 Nov 2012 13:05:12 +0000 (14:05 +0100)]
print_packet: fix wrong use of sizeof()
Coverity:
CID 739690 (#1 of 1): Extra sizeof expression (SIZEOF_MISMATCH)
Adding "4UL /* sizeof (haddr->v4) */" to pointer "haddr" of
type "union olsr_ip_addr *" is suspicious because adding an integral
value to this pointer automatically scales that value by the size,
16 bytes, of the pointed-to type, "union olsr_ip_addr". Most likely,
"sizeof (haddr->v4)" is extraneous and should be replaced with 1.
CID 739691 (#1 of 1): Extra sizeof expression (SIZEOF_MISMATCH)
Adding "4UL /* sizeof (haddr->v4) */" to pointer "haddr" of
type "union olsr_ip_addr *" is suspicious because adding an integral
value to this pointer automatically scales that value by the size,
16 bytes, of the pointed-to type, "union olsr_ip_addr". Most likely,
"sizeof (haddr->v4)" is extraneous and should be replaced with 1.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 12 Nov 2012 20:56:21 +0000 (21:56 +0100)]
changelog: update to current state
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Sat, 10 Nov 2012 14:33:56 +0000 (15:33 +0100)]
bmf: do the minimum length check earlier
so that getting the destPort does not (potentially) read
beyond the received bytes in the buffer.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Sat, 10 Nov 2012 10:44:12 +0000 (11:44 +0100)]
main: improve random number generator seed
Make it much more random when /dev/random or /dev/urandom is
available.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 9 Nov 2012 16:56:06 +0000 (17:56 +0100)]
neighbor_table: explicitly cast to (time_t *) in calls to localtime()
To make it build on win64
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 9 Nov 2012 16:55:47 +0000 (17:55 +0100)]
hna_set: explicitly cast to (time_t *) in calls to localtime()
To make it build on win64
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 9 Nov 2012 16:53:51 +0000 (17:53 +0100)]
win32: remove unused getpid() function
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 9 Nov 2012 16:52:54 +0000 (17:52 +0100)]
main: do not seed the random number generator with the process id
We now seed it with the current time. This is predictable as well
but getpid() is not compatible with the windows 64bits mingw build.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 5 Nov 2012 16:34:37 +0000 (17:34 +0100)]
tas: remove plugin
Unmaintained for a long time, no response on removal announcement,
no known users.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 21:51:08 +0000 (22:51 +0100)]
gateway: simplify stopping the cleanup timer
To make the code of olsr_delete_gateway_tree_entry consistent with
that of olsr_update_gateway_entry
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 16:36:12 +0000 (17:36 +0100)]
gui: linux: fix the string buffer overflow better
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 16:20:33 +0000 (17:20 +0100)]
gui: linux: fix string buffer overflow
Coverity:
CID 742359 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
At (2): You might overrun the 10 byte fixed-size string "tmp" by copying
the return value of "g_locale_to_utf8(gchar const *, gssize,
gsize *, gsize *, GError **)" without checking the length.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 16:17:22 +0000 (17:17 +0100)]
gui: linux: fix string buffer overflow
Coverity:
CID 742358 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
At (1): You might overrun the 255 byte fixed-size string "title" by
copying the return value of "ip_to_string(union olsr_ip_addr *)"
without checking the length.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 16:10:25 +0000 (17:10 +0100)]
gui: linux: fix inccorrect sizeof()
Coverity:
CID 742357 (#1 of 1): Incorrect sizeof expression (BAD_SIZEOF)
Taking the size of arithmetic expression "512 + 1" is suspicious.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 15:56:58 +0000 (16:56 +0100)]
gui: linux: fix some 'shadow' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 15:36:42 +0000 (16:36 +0100)]
gui: linux: fix some 'may be used uninitialized' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 15:36:18 +0000 (16:36 +0100)]
Revert "gui: linux: fix some 'may be used uninitialized' compiler warnings"
This reverts commit
b27a04dd3106a7123810c066d59362ec6e7a7c64.
Ferry Huberts [Wed, 7 Nov 2012 13:56:47 +0000 (14:56 +0100)]
gui: linux: fix some 'unused parameter' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:51:49 +0000 (14:51 +0100)]
gui: linux: fix a 'mixed declarations and code' compiler warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:46:04 +0000 (14:46 +0100)]
gui: linux: fix 'too few arguments to function ipc_connect' compiler warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:42:59 +0000 (14:42 +0100)]
gui: linux: fix some 'old-style function definition' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:36:41 +0000 (14:36 +0100)]
gui: linux: fix some 'discards const qualifier' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:35:32 +0000 (14:35 +0100)]
gui: linux: fix some 'noreturn' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 13:34:47 +0000 (14:34 +0100)]
gui: linux: use toplevel make options
But disable some warnings for now.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:32:01 +0000 (13:32 +0100)]
gui: linux: fix some 'may be used uninitialized' compiler warnings
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:28:10 +0000 (13:28 +0100)]
gui: linux: add VERBOSE handling
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:26:42 +0000 (13:26 +0100)]
gui: linux: clean and install are phony targets
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:26:19 +0000 (13:26 +0100)]
gui: linux: minor Makefile fixup
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:25:39 +0000 (13:25 +0100)]
Makefile: always pass VERBOSE to the make command
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 11:32:54 +0000 (12:32 +0100)]
Makefile: add gui target
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 12:16:27 +0000 (13:16 +0100)]
Makefile: fixup some forgotten make command prefixes
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Wed, 7 Nov 2012 11:21:26 +0000 (12:21 +0100)]
win32: use #ifdef _WIN32
I'm really tired of seeing (windows) compiler errors in Eclipse
on my Linux machine...
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Mon, 5 Nov 2012 16:39:27 +0000 (17:39 +0100)]
Merge tag 'v0.6.4'
OLSRd release 0.6.4
* tag 'v0.6.4':
Update version to 0.6.4
Fix slightly insulting error message.
on os x we need to include the proper files in order to have IPv6_PKTINFO
pud: include nmealib v1.0.3
pud: force pending buffer out if not enough space for our message
Pud: Do not use the variable name strlen.
Ferry Huberts [Fri, 2 Nov 2012 15:11:49 +0000 (16:11 +0100)]
gateway: refactor olsr_set_inet_gateway
To make it easier to understand
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 2 Nov 2012 12:52:06 +0000 (13:52 +0100)]
hna_set: olsr_ip_prefix_to_string outputs a wider string
See
213f9e04ab44d89c0138b0283883eebe2aabc9a5
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 2 Nov 2012 11:47:51 +0000 (12:47 +0100)]
gateway: minor improvement in NULL comparisons
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 2 Nov 2012 11:49:32 +0000 (12:49 +0100)]
gateway: rename a variable
And add a comment
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Fri, 2 Nov 2012 10:20:55 +0000 (11:20 +0100)]
gateway: only remove a tunnel when there is one
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 13:17:01 +0000 (14:17 +0100)]
use INET_ADDRSTRLEN and INET6_ADDRSTRLEN instead of magic constants
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 12:22:28 +0000 (13:22 +0100)]
neighbor_table: stub out olsr_print_neighbor_table on #ifdef NODEBUG and fix
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 12:20:31 +0000 (13:20 +0100)]
neighbor_table: stub out olsr_print_neighbor_table on #ifndef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 12:17:54 +0000 (13:17 +0100)]
hna_set: stub out olsr_print_hna_set on #ifdef NODEBUG and fix
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:52:52 +0000 (12:52 +0100)]
hna_set: stub out olsr_print_hna_set on #ifndef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:55:40 +0000 (12:55 +0100)]
two_hop_neighbor_table: stub out olsr_print_two_hop_neighbor_table on #ifdef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:54:58 +0000 (12:54 +0100)]
tc_set: stub out olsr_print_tc_table on #ifdef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:54:34 +0000 (12:54 +0100)]
routing_table: stub out olsr_print_routing_table on #ifdef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:53:37 +0000 (12:53 +0100)]
mpr_set: stub out olsr_print_mpr_set on #ifdef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts [Thu, 1 Nov 2012 11:53:10 +0000 (12:53 +0100)]
link_set: stub out olsr_print_link_set on #ifdef NODEBUG
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>