Fix UDP statistics.

UPD packet statistics were not being updated, this fixes it.