summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/main.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-06 19:56:49 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-06 19:57:18 +0100
commit2388cfa0b517e1ef3e05e278ffcd6d6db981381b (patch)
tree7c2ec316cbc64c701b707cee4d5ec45fa6dfe3d4 /wrappers/python/eduvpn_common/main.py
parenta2f9a000e635876126ab41a7969973a8f03a109a (diff)
Client + Exports + Wrappers: Add peer IPs argument to fd callback
And rename the callback to be closer to what it does
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
-rw-r--r--wrappers/python/eduvpn_common/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py
index ea0ebb3..e96f7e2 100644
--- a/wrappers/python/eduvpn_common/main.py
+++ b/wrappers/python/eduvpn_common/main.py
@@ -5,8 +5,8 @@ from typing import Any, Callable, Iterator, Optional
from eduvpn_common.loader import initialize_functions, load_lib
from eduvpn_common.types import (
- GotProxyFD,
ProxyReady,
+ ProxySetup,
ReadRxBytes,
TokenGetter,
TokenSetter,
@@ -347,13 +347,13 @@ class EduVPN(object):
forwardError(dropped_err)
return dropped
- def start_proxyguard(self, listen: str, source_port: int, peer: str, gotfd: GotProxyFD, ready: ProxyReady):
+ def start_proxyguard(self, listen: str, source_port: int, peer: str, setup: ProxySetup, ready: ProxyReady):
proxy_err = self.go_cookie_function(
self.lib.StartProxyguard,
listen,
source_port,
peer,
- gotfd,
+ setup,
ready,
)
if proxy_err: