In procd event handling should be done in service_triggers().
Therefor move reload_triggers into service_triggers()
Additional small refactoring and commenting.
With hotplug scripts we manage interface ifup events to restart olsrd,
regenerate config files and therefor add the interface.
Hotplug is deprecated and should be replaced with procd.
upstream changes:
3d879c0 typo in GET32()
f964d14 Fixed IpTunnel unaligned access, thanks Viric for pointing it out
a05ade4 attempt to fix a rare assertion failure
6f1fdd8 Fix a memory leak in InterfaceController.c
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
From the CHANGELOG:
* add support to call commands after data was updated
* automatic reduction of process capabilities when not needed anymore
* allow printing of the data version number in the alfred client mode
* various code cleanups
* bugs squashed:
- update of the version number when data was updated with different
version number
- tighten size check on received packet
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
alfred always requires IPv6 support in the kernel and not only when
"Enable IPv6 support in packages" is enabled.
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
The current uci-defaults scripts assumes than a network interface named
'lan' always exists. Check if this is true before adding ETHInterface
section.
This is a temporary work-around until cjdrouteconf gets the Linux
interface from netifd via ubus...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uci-defaults script complained about
sh: missing ]
fix this by adding the missing whitespace which caused the error.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Use hyperboria/cjdns source and squash changes from meshbox:
422062d cjdns: update source version
17fedb6 cjdns: bump release
bc113ec cjdns: remove musl patch
This includes fixes to build on aarch64 and mips64 targets.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
14 April 2014: babeld-1.6.0
* Added support for source-specific routing. Thanks to Matthieu Boutier.
* Added support for reflecting metrics as kernel priorities. Thanks to
Pierre Pfister.
* Worked around a Linux kernel bug with an infinite EAGAIN loop. Thanks
to Dave Taht.
* Changed wildcard updates to not set flag 0x40. Reported by Markus
Stenberg.
* Made ipv6-subtrees a runtime option. Thanks to Matthieu Boutier.
Signed-off-by: Gabriel Kerneis <kerneis@google.com>