From c1d6e3825766f5ff331bf9774ded6acf5232d432 Mon Sep 17 00:00:00 2001 From: b <dsnake@protonmail.com> Date: Fri, 1 Apr 2022 13:38:48 -0400 Subject: [PATCH] expose obfs4Proxy version to integrating apps --- IPtProxy.go/IPtProxy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IPtProxy.go/IPtProxy.go b/IPtProxy.go/IPtProxy.go index f57463e..5554d3d 100644 --- a/IPtProxy.go/IPtProxy.go +++ b/IPtProxy.go/IPtProxy.go @@ -91,6 +91,9 @@ func init() { StateLocation += "/pt_state" } +// Obfs4ProxyVersion - the version of obfs4Proxy bundled with IPtProxy +const Obfs4ProxyVersion = obfs4proxy.obfs4proxyVersion + // StartObfs4Proxy - Start the Obfs4Proxy. // // This will test, if the default ports are available. If not, it will increment them until there is. -- GitLab