udp: Fix a typo in a source code comment

- s/datgram/datagram/

(cherry picked from commit a3a78bd7a7)
This commit is contained in:
Gordon Bergling 2025-08-17 11:26:44 +02:00 committed by Franco Fichtner
parent 2157e4257c
commit ee0306bc3d
2 changed files with 2 additions and 2 deletions

View file

@ -450,7 +450,7 @@ udp_multi_input(struct mbuf *m, int proto, struct sockaddr_in *udp_in)
/*
* No matching pcb found; discard datagram. (No need
* to send an ICMP Port Unreachable for a broadcast
* or multicast datgram.)
* or multicast datagram.)
*/
UDPSTAT_INC(udps_noport);
if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)))

View file

@ -343,7 +343,7 @@ udp6_multi_input(struct mbuf *m, int off, int proto,
/*
* No matching pcb found; discard datagram. (No need
* to send an ICMP Port Unreachable for a broadcast
* or multicast datgram.)
* or multicast datagram.)
*/
UDPSTAT_INC(udps_noport);
UDPSTAT_INC(udps_noportmcast);