All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kodanev <alexey.kodanev@oracle.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] network/iptables: add ipv6 support
Date: Thu, 9 Jan 2020 17:16:18 +0300	[thread overview]
Message-ID: <b7290545-f106-3605-7a82-7854383ad3f8@oracle.com> (raw)
In-Reply-To: <20200109105101.GA30367@dell5510>

On 09.01.2020 13:51, Petr Vorel wrote:
> Hi Alexey,
> 
>>> now:
>>> /bin/sh: 1: nft: not found
>>> nft01 1 TBROK: nft add table ip filter failed
> 
>> Good catch, what about starting with init() in do_setup()?
> 
>> diff --git a/testcases/network/iptables/nft01.sh b/testcases/network/iptables/nft01.sh
>> index 1ae086678..bf2a53c28 100755
>> --- a/testcases/network/iptables/nft01.sh
>> +++ b/testcases/network/iptables/nft01.sh
>> @@ -13,6 +13,7 @@ cleanup_chain=0
> 
>>  do_setup()
>>  {
>> +       init
>>         local ip_table="ip${TST_IPV6}"
> 
>>         if ! nft list table $ip_table filter > /dev/null 2>&1; then
>> @@ -23,7 +24,6 @@ do_setup()
>>                 ROD nft add chain $ip_table filter INPUT '{ type filter hook input priority 0; }'
>>                 cleanup_chain=1
>>         fi
>> -       init
>>  }
> 
> Great, what a simple fix :).
> 

Applied with this change, thanks for your review Petr!

      reply	other threads:[~2020-01-09 14:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26 13:58 [LTP] [PATCH] network/iptables: add ipv6 support Alexey Kodanev
2020-01-03 12:48 ` Petr Vorel
2020-01-09 10:17   ` Alexey Kodanev
2020-01-09 10:51     ` Petr Vorel
2020-01-09 14:16       ` Alexey Kodanev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b7290545-f106-3605-7a82-7854383ad3f8@oracle.com \
    --to=alexey.kodanev@oracle.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.