mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
Fixed the other ipvs plugins too regarding UDP detection
This commit is contained in:
parent
267c45f904
commit
f349130b3f
3 changed files with 5 additions and 5 deletions
|
@ -90,8 +90,8 @@ for IP in $IPLIST; do
|
|||
|
||||
# If line number match the line number of the match listen ip, print the line...
|
||||
if [ "$N" -gt "$MATCH" ]; then
|
||||
# ... except if the line contain TCP word (this start an other listen)
|
||||
if ( echo $line | grep TCP > /dev/null ); then
|
||||
# ... except if the line contain TCP or UDP word (this start an other listen)
|
||||
if ( echo $line | grep -e TCP -e UDP > /dev/null ); then
|
||||
break
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue