Update udp.c

Part of CAF Merge