From: Andreas Steffen Date: Tue, 18 Jun 2013 19:35:15 +0000 (+0200) Subject: Ignore non-matching protocols X-Git-Tag: 5.1.0dr1~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fbfe03e4e8694178df4486aa366701a6dc21d19;p=thirdparty%2Fstrongswan.git Ignore non-matching protocols --- diff --git a/src/libimcv/plugins/imv_scanner/imv_scanner_agent.c b/src/libimcv/plugins/imv_scanner/imv_scanner_agent.c index 6bf85c66e7..1757783fd8 100644 --- a/src/libimcv/plugins/imv_scanner/imv_scanner_agent.c +++ b/src/libimcv/plugins/imv_scanner/imv_scanner_agent.c @@ -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; }