This is similar to GH-3206. There do not seem to be practical consequences - but we should still fix it. This also includes the udp-testcase that was forgotten in GH-3206.