summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-10-11 11:42:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:52 +0100
commit28dcf16384b223f9890567bd89056864a7e3c85d (patch)
tree08d23bb2a19cfbc25070869ac3bb7dfc2b846838 /iptables/nft-arp.c
parent6cd426bc7593ecf04a02c901d94e04093bdf69e4 (diff)
nft: fix interface wildcard matching
In (73ea1cc nft: convert rule into a command state structure), the interface wildcard matching got broken. The previous handling was flawed by the use of ifnametoindex in scenario where the interface may vanished after a rule was added. This approach relies on the trailing '\0' to identify if this is an exact or wildcard matching, based on discussion with Florian. Based on initial patch from Anand Raj Manickam. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-arp.c')
0 files changed, 0 insertions, 0 deletions