The branch main has been updated by kp:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b68d2789f0d745d420203ca7dae9408f81cc7206
commit b68d2789f0d745d420203ca7dae9408f81cc7206
Author: Igor Ostapenko <
p...@igoro.pro>
AuthorDate: 2023-11-01 12:21:16 +0000
Commit: Kristof Provost <k...@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