Class: Ardecy::Harden::Sysctl::Network::Ipv6AllAcceptSourceRoute

Inherits:
SysNet
  • Object
show all
Defined in:
lib/ardecy/harden/sysctl/network.rb

Instance Method Summary collapse

Methods inherited from SysNet

#fix

Methods inherited from SysKern

#fix, #repair, #scan, #x

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ Ipv6AllAcceptSourceRoute

Returns a new instance of Ipv6AllAcceptSourceRoute.



171
172
173
174
175
176
# File 'lib/ardecy/harden/sysctl/network.rb', line 171

def initialize(args)
  @file = '/proc/sys/net/ipv6/conf/all/accept_source_route'
  @line = 'net.ipv6.conf.all.accept_source_route'
  @tab = 1
  super
end