summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-09-03 17:46:16 +0200
committerPhil Sutter <phil@nwl.cc>2019-09-23 13:04:27 +0200
commit1d05b989b3ec774c52cdb1fee41d8ee5f382b756 (patch)
tree32f956fd17e21223dd87a08fb0ef92db5938efd6 /iptables/nft-shared.c
parentb29068b49d32a0a8667409e69de628400593588c (diff)
nft: Use nftnl_*_set_str() functions
Although it doesn't make a difference in practice, they are the correct API functions to use when assigning string attributes. While doing so, also drop the needless casts to non-const. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-shared.c')
0 files changed, 0 insertions, 0 deletions