Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2023 14:41:50 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b68d2789f0d7 - main - ip_var.h: align comment style
Message-ID:  <202311011441.3A1EfoBC030246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

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

commit b68d2789f0d745d420203ca7dae9408f81cc7206
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2023-11-01 12:21:16 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-01 14:41:36 +0000

    ip_var.h: align comment style
    
    MFC after:      2 weeks
    Reviewed by:    kp
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/883
---
 sys/netinet/ip_var.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index a8a9adc1d4c6..3220679d749f 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -333,11 +333,10 @@ __enum_uint8_decl(pf_mtag_dir) {
 	PF_DIVERT_MTAG_DIR_OUT = 2
 };
 struct pf_divert_mtag {
-	__enum_uint8(pf_mtag_dir) idir;	// initial pkt direction
+	__enum_uint8(pf_mtag_dir) idir;		/* initial pkt direction */
 	union {
-		__enum_uint8(pf_mtag_dir) ndir;	// a) divert(4) port upon initial diversion
-				// b) new direction upon pkt re-enter
-		uint16_t port;	/* Initial divert(4) port */
+		__enum_uint8(pf_mtag_dir) ndir;	/* new dir after re-enter */
+		uint16_t port;			/* initial divert(4) port */
 	};
 };
 #define MTAG_PF_DIVERT	1262273569



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311011441.3A1EfoBC030246>