[update] fix compiler warning in udpserver