[Fix] minor bugfix
[Fix] this condition will not discard packets