Werk #5704: Windows agent: prevent crash without IPv6 support

KomponenteChecks & Agents
TitelWindows agent: prevent crash without IPv6 support
Datum2018-02-22 15:40:58
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p26,1.5.0b1
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

Windows agent crashed on older systems (at least Windows Server 2003 and Windows XP) that only supported IPv4.

The bug was introduced in 1.4.0p25. Older releases and systems that support IPv6 should have remained unaffected.

The configuration option ipv6 was not obeyed. Now this option can be set to 'no' in order to only listen IPv4 connections on a IPv6 capable system.