The branch main has been updated by gbe:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a3a78bd7a7446a9a437391c681ba196d956987da

commit a3a78bd7a7446a9a437391c681ba196d956987da
Author:     Gordon Bergling <g...@freebsd.org>
AuthorDate: 2025-08-17 09:26:44 +0000
Commit:     Gordon Bergling <g...@freebsd.org>
CommitDate: 2025-08-17 09:26:44 +0000

    udp: Fix a typo in a source code comment
    
    - s/datgram/datagram/
    
    MFC after:      3 days
---
 sys/netinet/udp_usrreq.c   | 2 +-
 sys/netinet6/udp6_usrreq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 2f2f9abf1c83..3e6519118a40 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -448,7 +448,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)))
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 0027cf3bd230..1a32365f5d1d 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -341,7 +341,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);

Reply via email to