git: 46a96d68f63f - stable/14 - ip_var.h: align comment style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Nov 2023 14:39:22 UTC
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