UDP port 0, no flow log

In UDP traffic where both the source and destination ports were 0, only an alert log was created, but no flow log was generated. Is this a feature, a bug, or a configuration in YAML?
Thanks.