From nobody Sat Apr 29 16:31:40 2023 X-Original-To: dev-commits-src-main@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 4Q7w3K0FzVz47xXZ; Sat, 29 Apr 2023 16:31:41 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q7w3J6wbfz4Vnj; Sat, 29 Apr 2023 16:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682785901; 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=IhThackHuBYqzzi20BuYIHypTD4XAfRHQuGHuXANoY8=; b=FIsNAcTQvRv3DgXe0VFP0fo9eWFQfYopczuj4PVKChNYN0Wy2ZMK12ce8fXZWXMYL4IjbG Q6wuBc+fZSgVsO2dhg9/PMDbikyv7toOJ6UVeUu/cZYC83HcoycAmxc2NyemtXSkxFeOG0 reP/yeAzMGVQ1BMCQgdiJmWu+VNI8ueTnRZDK9TRVkpb4QdVR+CBZJt057zNhQt9JowkNV jvK9GWpbJceNaxpSfTSBAQ7CLVj6jKgaWdz6OUUnh66GcdXFJO6GmO0gRCZG39ezuMoHWM z7uB3BsHX144QHCd22vCiiS91Ax2PCaaEgZEMwQG7NaFt19cCFhErPHi43eU3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682785901; 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=IhThackHuBYqzzi20BuYIHypTD4XAfRHQuGHuXANoY8=; b=A8RMJobPpWVXDgsl9FUH6VcznTKlRsCelwsc/hutzMzmiCxUyC65pEybVpkspRWjejPRXK D5nFGbpas69Y9nxP34P0bUH3ifLYuPJRMYsxX5s8x8TCZrQ037I3tBguvN0XgFbIebCEB2 MqMbWvv//tohz99/HaXq6Txx6ib6gnZ0/iC8oc6dxcfEH+urzDgseC5JJKDsShV/F2VtgV KssLaCf9mZKa1TqtXGRApvCMhXvGrm6fIysRRgCWi8KVUHI9OFMcWacNcJ6B8VHv9YV4IL 8qgn7hHQLXrOrOr8PLMV8UpSeRXKvpFTtRYzgKaO1LSeg1xvEo9BUBfF0w3OOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682785901; a=rsa-sha256; cv=none; b=Nq69pKlnD+txocVvsZW7+hG7OrxENUrM+i/hek6mRL6q4kj4BKVGD5GtNHvX58i0Qql9Is EvA4EVxcQHADRM8QbS1H0jbtSeDNtm+y+qtssULX9VO+kEv0eQLyUv4uTnQZBd7XYIvIIp GiYUxSTCZzy8ATu9qs+/c+m2181/TWLxN+pirG0DkVdnl3e1B8Ck5D/gT9oZ25L5V1tRop Zg4gaUsnAbcA5hWUR8GN6nAit5f4S0LrwaIlXzADyLn9aoyT8F1FIfi2m+GHZsL+65/TgR LS6aFTKZj9ZDsLBQy3taRM5fIjsmOUthI3RRFluQjG2++5UPi/0YKR5lA+k5wg== 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 4Q7w3J609qzpN6; Sat, 29 Apr 2023 16:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33TGVepi050989; Sat, 29 Apr 2023 16:31:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33TGVew3050988; Sat, 29 Apr 2023 16:31:40 GMT (envelope-from git) Date: Sat, 29 Apr 2023 16:31:40 GMT Message-Id: <202304291631.33TGVew3050988@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: 61b95bcb4299 - main - wg: change module name to if_wg List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 61b95bcb42993b24633b280791438266d78f2747 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=61b95bcb42993b24633b280791438266d78f2747 commit 61b95bcb42993b24633b280791438266d78f2747 Author: Kristof Provost AuthorDate: 2023-04-27 15:35:12 +0000 Commit: Kristof Provost CommitDate: 2023-04-29 16:30:24 +0000 wg: change module name to if_wg Other virtual interface drivers (e.g. if_gif, if_stf, if_ovpn) all start with if_. The wireguard file is also named if_wg, but the module name was 'wg'. Fix this inconsistency. Reported by: Christian McDonald Reviewed by: zlei, kevans Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D39853 --- sys/dev/wg/if_wg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/wg/if_wg.c b/sys/dev/wg/if_wg.c index 6a99061cac54..d2403792cec8 100644 --- a/sys/dev/wg/if_wg.c +++ b/sys/dev/wg/if_wg.c @@ -3055,11 +3055,11 @@ wg_module_event_handler(module_t mod, int what, void *arg) } static moduledata_t wg_moduledata = { - wgname, + "if_wg", wg_module_event_handler, NULL }; -DECLARE_MODULE(wg, wg_moduledata, SI_SUB_PSEUDO, SI_ORDER_ANY); -MODULE_VERSION(wg, WIREGUARD_VERSION); -MODULE_DEPEND(wg, crypto, 1, 1, 1); +DECLARE_MODULE(if_wg, wg_moduledata, SI_SUB_PSEUDO, SI_ORDER_ANY); +MODULE_VERSION(if_wg, WIREGUARD_VERSION); +MODULE_DEPEND(if_wg, crypto, 1, 1, 1);