Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2023 14:39:22 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 46a96d68f63f - stable/14 - ip_var.h: align comment style
Message-ID:  <202311091439.3A9EdMe3064521@gitrepo.freebsd.org>

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

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

commit 46a96d68f63fc7ba53642df43fc48c88d08e56ee
Author:     Igor Ostapenko <pm@igoro.pro>
AuthorDate: 2023-11-01 12:21:16 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-09 09:56:26 +0000

    ip_var.h: align comment style
    
    MFC after:      2 weeks
    Reviewed by:    kp
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/883
    
    (cherry picked from commit b68d2789f0d745d420203ca7dae9408f81cc7206)
---
 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?202311091439.3A9EdMe3064521>