Re: [nftables PATCH] fix nft -i command crashes when try to input multi line command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 10, 2014 at 04:35:09PM +0530, Guruswamy Basavaiah wrote:
> Hello,
>  Steps to reproduce.
>  [root@localhost ~]# nft -i
> nft> add table filter
> nft> list table \
> 
> readline: readline_callback_read_char() called with no handler!
> Aborted (core dumped)
> [root@localhost ~]#

I see, thanks.

Perhaps we can do something similar to python, I'd suggest:

nft> list table \
.... filter
table ip filter {
        chain INPUT {
                type filter hook input priority 0;
        }
}

I mean use "...." if we are in the context of a multiline.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux