diff options
author | Florian Westphal <fw@strlen.de> | 2017-05-29 19:25:38 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-06-06 20:53:03 +0200 |
commit | 8786dc5f30db5a686c25de7cc80da1fd21082683 (patch) | |
tree | 706e4dbc79ecb6f69c5a7764216c691780a16869 /tests/files | |
parent | 37988cf255e51efba0d81dbc43eb4f0a41e99813 (diff) |
ct: fix inet/bridge/netdev family handling for saddr/daddr
"ct orignal saddr" has an invalid data type, as the address can be either ipv4 or ipv6.
For some cases we could infer it from the rhs, but there are cases where we don't have any
information, e.g. when passing ct original saddr to jhash expression.
So do the same thing that we do for "rt nexthop" -- error out and hint to user
they need to specifiy the desired address type with "meta nfproto".
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/files')
0 files changed, 0 insertions, 0 deletions