Patches for Bug in check_tcp.c -- with patch [sf#1030062] [#288]