From 98264d9e275f9ab07a76f85a75335ce3dea8656b Mon Sep 17 00:00:00 2001 From: Toby Date: Sat, 30 Mar 2024 13:23:46 -0700 Subject: [PATCH] chore: format --- analyzer/udp/openvpn.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/analyzer/udp/openvpn.go b/analyzer/udp/openvpn.go index 1d64ed3..00ac34c 100644 --- a/analyzer/udp/openvpn.go +++ b/analyzer/udp/openvpn.go @@ -5,11 +5,15 @@ import ( "github.com/apernet/OpenGFW/analyzer/utils" ) -var _ analyzer.UDPAnalyzer = (*OpenVpnAnalyzer)(nil) -var _ analyzer.TCPAnalyzer = (*OpenVpnAnalyzer)(nil) +var ( + _ analyzer.UDPAnalyzer = (*OpenVpnAnalyzer)(nil) + _ analyzer.TCPAnalyzer = (*OpenVpnAnalyzer)(nil) +) -var _ analyzer.UDPStream = (*openVpnUdpStream)(nil) -var _ analyzer.TCPStream = (*openVpnTcpStream)(nil) +var ( + _ analyzer.UDPStream = (*openVpnUdpStream)(nil) + _ analyzer.TCPStream = (*openVpnTcpStream)(nil) +) // Ref paper: // https://www.usenix.org/system/files/sec22fall_xue-diwen.pdf