diff --git a/portlist.cc b/portlist.cc index 0a27df8bc..b2c722899 100644 --- a/portlist.cc +++ b/portlist.cc @@ -694,8 +694,12 @@ bool PortList::isIgnoredState(int state) { int max_per_state = 25; // Ignore states with more ports than this /* We will show more ports when verbosity is requested */ - if (o.verbose || o.debugging) - max_per_state *= (o.verbose + 20 * o.debugging); + if (o.verbose || o.debugging) { + if (o.ipprotscan) + max_per_state *= (o.verbose + 3 * o.debugging); + else + max_per_state *= (o.verbose + 20 * o.debugging); + } if (getStateCounts(state) > max_per_state) return true;