Fixed bug in UDP message publication.