Fix UDP statistics.
Fix UDP statistics also in ipv6 code.
Merge pull request #350 from AriZuu/udp-stats-fix

Fix UDP statistics.