summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_icmp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-08-01 16:56:42 +0200
committerPhil Sutter <phil@nwl.cc>2023-08-01 17:16:37 +0200
commit9f98550d58a49fc95d529ebdc0173579d957b425 (patch)
treeea2075aa1bd03b0c279c5dba103914e7d1ce7ed5 /extensions/libipt_icmp.c
parent4d9453233538200e9663c6bd0c2df09e1671b5f4 (diff)
iptables-apply: Eliminate shellcheck warnings
Actual warnings were only about use of '-a' in bracket expressions (replace by '&&' pipeline) and the immediate evaluation of the variable in trap command. The remaining changes silence info-level messages: missing quoting around variables, pointless '$' in arithmetic expressions, backticks instead of $(...), missing '-r' parameter when calling read and an awkward negated '-z' check. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libipt_icmp.c')
0 files changed, 0 insertions, 0 deletions