Patch by Ken Bannister for logging error when dispatch packet to Internet.