changed scope/position of this function, and reuse it.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36300 3c298f89-4303-0410-b956-a3cf2f4a3e73
Range is 1...20 where 1 is fastest protocol speed and 20 is the slowest protocol speed
Like in the Freifunk-Firmware from sven-ola we accept now a per-interface
option 'speed', which should range from 1...20 and is sanitized. when the
value is not in valid range, it defaults to 6 which allows the daemon to
start and behave like in a city-wide mesh. (same default like in freifunk firmware)
The value 'speed' overrides the normal values for emission intervals like
Hello-, Tc-, Mid-, Hna-Interval/ValidityTime or sets them explicitely. this
makes it much easier to play with intervals on several routers:
Instead of changes eight values, we only have to alter 1 value.
The value-calculation is tested since several years.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36299 3c298f89-4303-0410-b956-a3cf2f4a3e73
Later we want to reuse that functionality, to avoid code duplication
we make a function with clean entry and return-codes, so we can do e.g.:
get_value_for_entry "$entry" || continue
which is also better readable.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36298 3c298f89-4303-0410-b956-a3cf2f4a3e73
With pleasure we announce the release of tinc version 1.0.20. Here is a
summary of the changes:
* Use /dev/tap0 by default on FreeBSD and NetBSD when using switch mode.
* Minor improvements and clarifications in the documentation.
* Allow tinc to be cross-compiled with Android's NDK.
* The discovered PMTU is now also applied to VLAN tagged traffic.
* The LocalDiscovery option now makes use of all addresses tinc is bound to.
* Fixed support for tunemu on iOS devices.
* The PriorityInheritance option now also works with switch mode.
* Fixed tinc crashing when using a SOCKS5 proxy.
Thanks to Mesar Hameed, Vilbrekin and Martin Schürrer for their contributions
to this version of tinc.
This version of tinc is compatible with 1.0pre8, 1.0 and later, but not
with earlier version of tinc.
Note that this will be one of the last releases of the 1.0 branch of tinc. Most
of the development is now happening on the 1.1 branch, with tinc 1.1pre6 being
the latest pre-release version, which you are encouraged to try out. The 1.1
branch is backwards compatible with tinc 1.0.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36041 3c298f89-4303-0410-b956-a3cf2f4a3e73
Bridge-utils uses kernel headers. Linux 3.8 has a header,
include/uapi/linux/if_bridge.h that uses a struct in6_addr but
doesn't define it. The trivial seeming fix of including the header
that does define it causes more problems. The problem was discussed
on mailing lists in January 2013. The final suggestion I found was
here:
http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
This is intended to implement that suggestion.
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35999 3c298f89-4303-0410-b956-a3cf2f4a3e73
instead of using 'little' hardcoded, rely on the config
I recommend to backport this fix to AA, once this bug
prevents MD5 authentication in protocol v3.
Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35956 3c298f89-4303-0410-b956-a3cf2f4a3e73
With the netifd integration the batman-adv script broke. This script
can safely be removed because '/etc/init.d/network' reloads the
batman-adv interfaces as well (thanks to netifd).
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35867 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch bumps Sipp - the SIP generator - from version 3.1
to version 3.3. It tested with basic scenarios.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Mark as broken for now so that snapshot builders build hostapd again.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35702 3c298f89-4303-0410-b956-a3cf2f4a3e73
The version currently in openwrt (1.8) has known security issues (see
the release announcements for the subsequent releases) and is quite
outdated (March 2010 as compared to Dec 2012).
The following patch bumps the version and also cleans up the build
script (mostly removing dead configure options, removing obsolete
patches, etc).
The testing binary "sclient" is dropped and kadmind is reintroduced in
krb5-server (I know it was removed to "save space", but kadmind is
around 60kB out of a total of around 700kB for a krb5-server
installation and an installation without kadmind is pretty gimped).
I hope this can be applied both to trunk and the attitude_adjustment
branch.
Signed-off-by: David Härdeman <david@hardeman.nu>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35700 3c298f89-4303-0410-b956-a3cf2f4a3e73
Changelog can be found here: http://jonas.nitro.dk/tig/NEWS.html
Signed-off-by: Francisco Borges <francisco.borges@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35699 3c298f89-4303-0410-b956-a3cf2f4a3e73
pdftops requires pdftops or gs, which neither is packaged in OpenWrt.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35698 3c298f89-4303-0410-b956-a3cf2f4a3e73
Version 0.5.4 is from 2009-05-29.
Version 1.2 is from 2012-11-27.
Signed-off-by: Francisco Borges <francisco.borges@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Because of an upgrade of the sourceforge pages, the subversion repostory
has moved. Closes#12647.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35692 3c298f89-4303-0410-b956-a3cf2f4a3e73
for determining all gateways in all routing tables
1) write out the ip-call, never ever abbreviate in scripts
2) avoid forks: sorting/uniq is not needed, if we only append
yet unappended words
3) use an extra function() for this, better readable
4) check for installed ip-command
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35680 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: don't try to start smartgw if not all deps are installed
if kmod-ipip is missing, there is no need to invoke an expensive operation.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35679 3c298f89-4303-0410-b956-a3cf2f4a3e73
packages: olsrd: use system-logger instead of dumping to stdout,
which is cleaner and also seen if not interactive called. minor
cleanups in some messages, also show function-name in messages.
by using 'logger -s' we can see the message on screen and in logs.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35678 3c298f89-4303-0410-b956-a3cf2f4a3e73