From 58bdb0a24b28ad29de54623df4413ec0686988da Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 04 2021 16:14:02 +0000 Subject: Apply patch 0016-doc-nft.8-Mention-wildcard-interface-matching.patch patch_name: 0016-doc-nft.8-Mention-wildcard-interface-matching.patch present_in_specfile: true location_in_specfile: 16 --- diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt index 5473d59..a5cab9d 100644 --- a/doc/primary-expression.txt +++ b/doc/primary-expression.txt @@ -36,6 +36,13 @@ add such a rule, it will stop matching if the interface gets renamed and it will match again in case interface gets deleted and later a new interface with the same name is created. +Like with iptables, wildcard matching on interface name prefixes is available for +*iifname* and *oifname* matches by appending an asterisk (*) character. Note +however that unlike iptables, nftables does not accept interface names +consisting of the wildcard character only - users are supposed to just skip +those always matching expressions. In order to match on literal asterisk +character, one may escape it using backslash (\). + .Meta expression types [options="header"] |==================