Class: Ardecy::Harden::Sysctl::Network::DefaultAcceptRedirects
Instance Method Summary collapse
-
#initialize(args) ⇒ DefaultAcceptRedirects
constructor
A new instance of DefaultAcceptRedirects.
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) ⇒ DefaultAcceptRedirects
Returns a new instance of DefaultAcceptRedirects.
80 81 82 83 84 85 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 80 def initialize(args) @file = '/proc/sys/net/ipv4/conf/default/accept_redirects' @line = 'net.ipv4.conf.default.accept_redirects' @tab = 1 super end |