From: | "Manuel Rueger (mrueg)" <mrueg@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-firewall/nftables/files: nftables.init |
Date: | Tue, 26 Aug 2014 17:53:58 |
Message-Id: | 20140826175354.7B0B13EDB@oystercatcher.gentoo.org |
1 | mrueg 14/08/26 17:53:54 |
2 | |
3 | Modified: nftables.init |
4 | Log: |
5 | Update init script. |
6 | |
7 | (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key ) |
8 | |
9 | Revision Changes Path |
10 | 1.2 net-firewall/nftables/files/nftables.init |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/nftables/files/nftables.init?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/nftables/files/nftables.init?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/nftables/files/nftables.init?r1=1.1&r2=1.2 |
15 | |
16 | Index: nftables.init |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-firewall/nftables/files/nftables.init,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- nftables.init 25 Aug 2014 19:30:47 -0000 1.1 |
23 | +++ nftables.init 26 Aug 2014 17:53:54 -0000 1.2 |
24 | @@ -38,7 +38,7 @@ |
25 | return |
26 | fi |
27 | |
28 | - local families=() |
29 | + families=() |
30 | for l3f in ip arp ip6 bridge inet; do |
31 | ${nft_bin} list tables ${l3f} &> /dev/null |
32 | if [ $? -eq 0 ]; then |
33 | @@ -187,10 +187,6 @@ |
34 | ebegin "Dropping all packets" |
35 | clearNFT |
36 | |
37 | - if havefamily "inet"; then |
38 | - einfo inet |
39 | - fi |
40 | - |
41 | local l3f |
42 | for l3f in ${families[@]}; do |
43 | case ${l3f} in |