Skip to content

Commit

Permalink
taking right calls
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Feb 4, 2020
1 parent 7420036 commit 64972df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/Security.rb
Original file line number Diff line number Diff line change
Expand Up @@ -869,9 +869,9 @@ def sysctl_config
# Map sysctl keys to method names from the CFA::SysctlConfig class.
SYSCTL_KEY_TO_METH = {
"kernel.sysrq" => :kernel_sysrq,
"net.ipv4.tcp_syncookies" => :raw_tcp_syncookies,
"net.ipv4.ip_forward" => :raw_forward_ipv4,
"net.ipv6.conf.all.forwarding" => :raw_forward_ipv6
"net.ipv4.tcp_syncookies" => :tcp_syncookies,
"net.ipv4.ip_forward" => :forward_ipv4,
"net.ipv6.conf.all.forwarding" => :forward_ipv6
}.freeze

# @param key [String] Key to get the value for
Expand Down

0 comments on commit 64972df

Please sign in to comment.