Fix most auto-correctable rubocop issues
This commit is contained in:
parent
34e3e51456
commit
ef7f3d800c
206 changed files with 2925 additions and 3473 deletions
|
@ -19,7 +19,7 @@ class MergeAclAddressAndMask < ActiveRecord::Migration
|
|||
|
||||
while netmask != "0.0.0.0"
|
||||
netmask = netmask << 1
|
||||
prefix = prefix + 1
|
||||
prefix += 1
|
||||
end
|
||||
|
||||
acl.address = "#{address.mask(prefix)}/#{prefix}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue