Máté Eckl <[email protected]> wrote:
> For example:
>       table ip x {
>               chain y {
>                       type filter hook prerouting priority -150; policy 
> accept;
> # Now I print this:
>                       ip protocol tcp tproxy ip to 1.1.1.1
> # but I'd like this:
>                       ip protocol tcp tproxy to 1.1.1.1
>               }
>       }
> 
> Is there a way to do this?

Yes, you can add a 'uint8_t family' to the tproxy expr
and fill it in netlink_delinarize:

expr_tproxy->tproxy.family = ctx->table->handle.family;
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to