Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: batman-adv: directed multicast support #1357

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
if os.execute('batctl -v | grep -q "batman-adv: 2013.4"') ~= 0 then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

batman-adv-legacy was dropped after v2019.1 was branched.

rule ('MULTICAST_OUT -p IPv6 --ip6-dst ff02::1/128 -j DROP')
rule ('MULTICAST_OUT -p IPv6 --ip6-dst ff02::/ff0f:: -j mark --set-mark 0x4 --mark-target RETURN')
end

rule ('MULTICAST_OUT -j DROP')
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ uci:section('batman-adv', 'mesh', 'bat0', {
gw_sel_class = gw_sel_class,
hop_penalty = 15,
routing_algo = routing_algo,
multicast_mode = false,
multicast_mode = true,
multicast_fanout = 16,
noflood_mark = '0x4/0x4',
})
uci:save('batman-adv')

Expand Down
Loading