[arch-commits] Commit in nftables/trunk (PKGBUILD nftables-flush)
Sébastien Luttringer
seblu at archlinux.org
Fri Oct 10 22:01:47 UTC 2014
Date: Saturday, October 11, 2014 @ 00:01:47
Author: seblu
Revision: 224183
upgpkg: nftables 1:0.3-4
- fix FS#42300
Modified:
nftables/trunk/PKGBUILD
nftables/trunk/nftables-flush
----------------+
PKGBUILD | 4 ++--
nftables-flush | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-10 20:05:16 UTC (rev 224182)
+++ PKGBUILD 2014-10-10 22:01:47 UTC (rev 224183)
@@ -4,7 +4,7 @@
pkgname=nftables
epoch=1
pkgver=0.3
-pkgrel=3
+pkgrel=4
pkgdesc='Netfilter tables userspace tools'
arch=('i686' 'x86_64')
url='http://netfilter.org/projects/nftables/'
@@ -20,7 +20,7 @@
'SKIP'
'041027cc0c217a5efa6b513a75736e28ab6db076'
'a5c1cd98534c3758db1e773ad2a134649a6ac8ac'
- 'e04e980a79159acb5e7c27b23c39323b8c415e3f')
+ '30ec956a52407ce1b4f1748f91184b3ff0bb9b7a')
build() {
cd $pkgname-$pkgver
Modified: nftables-flush
===================================================================
--- nftables-flush 2014-10-10 20:05:16 UTC (rev 224182)
+++ nftables-flush 2014-10-10 22:01:47 UTC (rev 224183)
@@ -21,8 +21,8 @@
for proto in "${PROTOS[@]}"; do
nft list tables "$proto"|cut -f 2 -d ' '| while read table; do
nft flush table "$proto" "$table"
- # flush remove rules and not chain (despite man page). do it manually.
- nft list table "$proto" filter|awk '/^[ \t]+chain/{ print $2 }'|while read chain; do
+ # Flush removes rules but not chains (contradictory to the man page). Do it manually.
+ nft list table "$proto" "$table"|awk '/^[ \t]+chain/{ print $2 }'|while read chain; do
nft delete chain "$proto" "$table" "$chain"
done
nft delete table "$proto" "$table"
More information about the arch-commits
mailing list