Fixed setting the pinging flags at start.

Related to issue #233