From 2388cfa0b517e1ef3e05e278ffcd6d6db981381b Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 6 Mar 2024 19:56:49 +0100 Subject: Client + Exports + Wrappers: Add peer IPs argument to fd callback And rename the callback to be closer to what it does --- wrappers/python/eduvpn_common/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wrappers/python/eduvpn_common/main.py') 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: -- cgit v1.2.3