Class: Ardecy::Harden::Sysctl::Network::Ipv6DefaultAcceptRedirects
Instance Method Summary collapse
-
#initialize(args) ⇒ Ipv6DefaultAcceptRedirects
constructor
A new instance of Ipv6DefaultAcceptRedirects.
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) ⇒ Ipv6DefaultAcceptRedirects
Returns a new instance of Ipv6DefaultAcceptRedirects.
116 117 118 119 120 121 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 116 def initialize(args) @file = '/proc/sys/net/ipv6/conf/default/accept_redirects' @line = 'net.ipv6.conf.default.accept_redirects' @tab = 1 super end |