don't allocate memory for udp-blocks if udp is disabled