Skip to content

Commit

Permalink
silence a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Aug 4, 2024
1 parent a74ed20 commit fd2c191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function printMetricsIptables() {
local tables4
local tables6

tables4=$(iptables -nvx -L INPUT -t filter) || return 1
tables6=$(ip6tables -nvx -L INPUT -t filter) || return 1
tables4=$(iptables -nvx -L INPUT -t filter 2>/dev/null) || return 1
tables6=$(ip6tables -nvx -L INPUT -t filter 2>/dev/null) || return 1

var="torutils_dropped_state_packets"
echo -e "# HELP $var Total number of dropped packets due to wrong TCP state\n# TYPE $var gauge"
Expand Down

0 comments on commit fd2c191

Please sign in to comment.