From nobody Sat Sep 21 22:56:53 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XB4Px6Crsz5XSNl; Sat, 21 Sep 2024 22:56:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XB4Px4GFgz53Ym; Sat, 21 Sep 2024 22:56:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726959413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8sfo4XdEFRP0979+UAgGoAnWqzLkdTMeEy9g6wfJahA=; b=ytO0g8mhgTsY7BRssEwNwsxSKuAjbr30byu3C/pgU5WeaiQNBc1lOmUzQyBPg5XyTCZNv9 vTnJvGGqfmwsEY5x6WPHP70n30B/lRzyhd/QNFAIzPzcd2F1UX+JFq1UBBbdi3U0DzDcLL RHe9zFpbBqgcbv3V+f6TJ82K9II83POeP6XYdk/qmYVji9l3tf/9Cz+oHmAgno8WgCFS76 QftSykEf9XAIsJGQ9XZ6uNufhIju2BhfLmbz+DYfphljWNB5qUEsvuy7xHdX0RcLJHLYZ1 Ja2qDuhDgFZfzMjjXExrK30JafAnookn1etB2e1jlwcGKc0dylJQZ6wPjqKSFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726959413; a=rsa-sha256; cv=none; b=nV0e5k2hA/8C8PwnT093UA1pjbR8B7NpSfirZhuZS/34KbkxYtAm3c3Bk2Jd20lR8U9qb9 LTvkFba2+xYpnmrwtCmwCBKfR1H03yYUpbRyv5EdF0zozxIIkyAwXSYbnzhjx8ra2+4KwZ LYFJtw0vQSGz3pD3D2fJhuVkJoLUZCt7YSJN5/OKVnBpSsq8I7dUs1BNv65qJWung1BoqY hn6FOxj+xa0daDNnQ98JBTKN4xj6yMy7byKi83TcXQKMNJQB/9eLSuQ79eC+YH4Ychamou MvI1+drYsKk+MFxMQ1J11zZuzw9mF4ENFsg5EdAPZUwh/frladuI7sJ343PNGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726959413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8sfo4XdEFRP0979+UAgGoAnWqzLkdTMeEy9g6wfJahA=; b=K+Az2l58sIdmrNfXgArBNW96QDUzPPH9lgbbz3zqGlWAPCFWZsYGFAUequi08nTNNOIWQ/ hDWgKtISaEQWgSahkvsqlcNeUSBjV/2FJHxJS2LQDBx7m/VErmdtNitS8r7oNiPm+PTPRK /aVbya44Hp5AsHUjJZWGDZ/JLb7iK41+JJafZtywWeVgLoEjUWpuCTqGpdevJvK6Oft9G7 HhOv54nCNG1zXk2UgnOBxztEEcVNA61q+GK1xz0oTZwBQ2kIT33138kjAZ60Ti+AUX+VV5 eMkqJBR78qAKoJmjOM+f24XC4VLAjSnmSRVeGvrGMcLuf+FsSTOYFuO5MwgOYQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XB4Px3svczrfp; Sat, 21 Sep 2024 22:56:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48LMurso012400; Sat, 21 Sep 2024 22:56:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48LMurAC012397; Sat, 21 Sep 2024 22:56:53 GMT (envelope-from git) Date: Sat, 21 Sep 2024 22:56:53 GMT Message-Id: <202409212256.48LMurAC012397@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: f8d14a44deb0 - main - if_usie: fix typo List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f8d14a44deb0bb0a3bde623bd9204212af12f938 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f8d14a44deb0bb0a3bde623bd9204212af12f938 commit f8d14a44deb0bb0a3bde623bd9204212af12f938 Author: Kristof Provost AuthorDate: 2024-09-21 15:56:06 +0000 Commit: Kristof Provost CommitDate: 2024-09-21 22:56:37 +0000 if_usie: fix typo Fix a 'case AF_INET;' typo, and ensure we include 'opt_inet6.h' so #ifdef INET6 actually works. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/usb/net/if_usie.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/net/if_usie.c b/sys/dev/usb/net/if_usie.c index 193ed956595a..bcbf056f3844 100644 --- a/sys/dev/usb/net/if_usie.c +++ b/sys/dev/usb/net/if_usie.c @@ -27,6 +27,8 @@ * SUCH DAMAGE. */ +#include "opt_inet6.h" + #include #include #include @@ -1190,7 +1192,7 @@ usie_if_output(if_t ifp, struct mbuf *m, const struct sockaddr *dst, switch (dst->sa_family) { #ifdef INET6 - case AF_INET6; + case AF_INET6: /* fall though */ #endif case AF_INET: