Skip to content

Commit

Permalink
check module bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Apr 30, 2018
1 parent d6c43f0 commit 8ec7067
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/sysctlbase.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ kernel.core_uses_pid = <%= scope.function_bool2number([@core_uses_pid]) %>
net.ipv4.tcp_syncookies = <%= scope.function_bool2number([@ipv4_tcp_syncookies]) %>

<% if @disable_netfilter_on_bridges %>
<%- if defined?(scope.lookupvar('::eyp_sysctl_net_bridge')) -%>
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

<%- end -%>
<% end -%>
# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = <%= @msgmnb %>
Expand Down

0 comments on commit 8ec7067

Please sign in to comment.