Class: Ardecy::Harden::Sysctl::Network::AllAcceptSourceRoute
Instance Method Summary collapse
-
#initialize(args) ⇒ AllAcceptSourceRoute
constructor
A new instance of AllAcceptSourceRoute.
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) ⇒ AllAcceptSourceRoute
Returns a new instance of AllAcceptSourceRoute.
153 154 155 156 157 158 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 153 def initialize(args) @file = '/proc/sys/net/ipv4/conf/all/accept_source_route' @line = 'net.ipv4.conf.all.accept_source_route' @tab = 1 super end |