Class: Ardecy::Harden::Sysctl::Network::DefaultSendRedirects
Instance Method Summary collapse
-
#initialize(args) ⇒ DefaultSendRedirects
constructor
A new instance of DefaultSendRedirects.
Methods inherited from SysNet
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ DefaultSendRedirects
Returns a new instance of DefaultSendRedirects.
134 135 136 137 138 139 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 134 def initialize(args) @file = '/proc/sys/net/ipv4/conf/default/send_redirects' @line = 'net.ipv4.conf.default.send_redirects' @tab = 1 super end |