forked from openwrt/packages
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batman-adv: upgrade package to latest release 2014.2.0
* remove batctl tool into separate package * support for vlan options added Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
- Loading branch information
1 parent
ddcdb77
commit f5205d7
Showing
14 changed files
with
45 additions
and
549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
. /lib/functions.sh | ||
. ../netifd-proto.sh | ||
init_proto "$@" | ||
|
||
proto_batadv_vlan_init_config() { | ||
proto_config_add_string "ap_isolation" | ||
} | ||
|
||
proto_batadv_vlan_setup() { | ||
local config="$1" | ||
local iface="$2" | ||
|
||
# VLAN specific variables | ||
local device="${iface%.*}" | ||
local vid="${iface#*.}" | ||
|
||
# batadv_vlan options | ||
local ap_isolation | ||
|
||
json_get_vars ap_isolation | ||
|
||
echo "$ap_isolation" > "/sys/class/net/${device}/mesh/vlan${vid}/ap_isolation" | ||
proto_init_update "$iface" 1 | ||
proto_send_update "$config" | ||
} | ||
|
||
add_protocol batadv_vlan |
35 changes: 0 additions & 35 deletions
35
batman-adv/patches/0001-batman-adv-fix-neigh_ifinfo-imbalance.patch
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
batman-adv/patches/0002-batman-adv-fix-neigh-reference-imbalance.patch
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
batman-adv/patches/0003-batman-adv-always-run-purge_orig_neighbors.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.