Ignore non-matching protocols

This commit is contained in:
Andreas Steffen committed 2013-06-21 23:25:25 +02:00
1 parent e5dd8a1d34
commit 8fbfe03e4e
1 file changed
+2 -2
@@ -368,9 +368,9 @@ METHOD(imv_agent_if_t, batch_ending, TNC_Result,
bool passed, found = FALSE;
char buf[20];
if (blocked)
if (blocked || protocol != protocol_family)
{
/* ignore closed ports */
/* ignore closed ports or non-matching protocols */
continue;
}