diff --git a/plugins/ipvs/ipvs_conn b/plugins/ipvs/ipvs_conn index f458ee6a..ce5dc922 100755 --- a/plugins/ipvs/ipvs_conn +++ b/plugins/ipvs/ipvs_conn @@ -93,8 +93,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