Projet

Général

Profil

Révision c8e93806

IDc8e93806424bb85d8a82f06d34e63cd0f0659ef2
Parent 5bd849ba
Enfant c8894978

Ajouté par tr il y a plus de 4 ans

Fix nat hooks

Voir les différences:

spec/classes/ip_nat_spec.rb
31 31
        )}
32 32
        it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-PREROUTING-rule-type').with(
33 33
          :target  => 'nftables-ip-nat-chain-PREROUTING',
34
          :content => /^  type filter hook prerouting priority -100$/,
34
          :content => /^  type nat hook prerouting priority -100$/,
35 35
          :order   => '01',
36 36
        )}
37 37
        it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-PREROUTING-footer').with(
......
56 56
        )}
57 57
        it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-POSTROUTING-rule-type').with(
58 58
          :target  => 'nftables-ip-nat-chain-POSTROUTING',
59
          :content => /^  type filter hook postrouting priority 100$/,
59
          :content => /^  type nat hook postrouting priority 100$/,
60 60
          :order   => '01',
61 61
        )}
62 62
        it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-POSTROUTING-footer').with(

Formats disponibles : Unified diff