Allow disabling of broadcast packets.
The Broadcast option can be used to cause tinc to drop all broadcast and multicast packets. This option might be expanded in the future to selectively allow only some broadcast packet types.
This commit is contained in:
parent
ea415ccc16
commit
8420a0c8bd
5 changed files with 15 additions and 5 deletions
|
|
@ -397,8 +397,8 @@ static bool setup_myself(void) {
|
|||
myself->options |= OPTION_CLAMP_MSS;
|
||||
|
||||
get_config_bool(lookup_config(config_tree, "PriorityInheritance"), &priorityinheritance);
|
||||
|
||||
get_config_bool(lookup_config(config_tree, "DecrementTTL"), &decrement_ttl);
|
||||
get_config_bool(lookup_config(config_tree, "Broadcast"), &broadcast);
|
||||
|
||||
#if !defined(SOL_IP) || !defined(IP_TOS)
|
||||
if(priorityinheritance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue