Re: [libnftnl PATCH 3/5] expr: reject: Do not print unset values in xml

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

 



On Wed, Jun 04, 2014 at 01:38:09PM +0200, Ana Rey wrote:
> It changes the parse and the snprint functions to omit unset values.
> 
> If we used this rule:
> nft add rule ip test output reject
> 
> It gets this xml file:
> [...]
> <expr type="reject">
> 	<type>0</type>
> 	<code>0</code>
> </expr>
> </rule></nftables>
> 
> Now, That rule creates this xml file without null values:
> 
> [...]
> <expr type="reject">
> </expr>
> </rule></nftables>

Applied, thanks.
--
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