From de27a3280c4fc8dd946f26e3c33e474bb8a3cf9f Mon Sep 17 00:00:00 2001 From: sbruens Date: Wed, 22 Jan 2025 17:19:17 -0500 Subject: [PATCH] Reorder for consistency. --- service/udp_linux.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/udp_linux.go b/service/udp_linux.go index 9292b970..788f18f9 100644 --- a/service/udp_linux.go +++ b/service/udp_linux.go @@ -28,13 +28,13 @@ import ( ) type udpListener struct { + // The validator to be used to validate target IP addresses. + targetIPValidator onet.TargetIPValidator + // NAT mapping timeout is the default time a mapping will stay active // without packets traversing the NAT, applied to non-DNS packets. timeout time.Duration - // The validator to be used to validate target IP addresses. - targetIPValidator onet.TargetIPValidator - // fwmark can be used in conjunction with other Linux networking features like cgroups, network // namespaces, and TC (Traffic Control) for sophisticated network management. // Value of 0 disables fwmark (SO_MARK) (Linux only)