mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
zerotier: update to 1.6.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From e0c76c5ccf049d22bc47d723567926346e4d3639 Mon Sep 17 00:00:00 2001
|
||||
From: Moritz Warning <moritzwarning@web.de>
|
||||
Date: Sat, 21 Nov 2020 18:19:21 +0100
|
||||
Subject: [PATCH 6/8] gcc10
|
||||
|
||||
---
|
||||
osdep/Binder.hpp | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp
|
||||
index c52f303b..8a38ab04 100644
|
||||
--- a/osdep/Binder.hpp
|
||||
+++ b/osdep/Binder.hpp
|
||||
@@ -396,9 +396,9 @@ public:
|
||||
}
|
||||
#endif // __LINUX__
|
||||
if (_bindingCount < ZT_BINDER_MAX_BINDINGS) {
|
||||
- _bindings[_bindingCount].udpSock = udps;
|
||||
- _bindings[_bindingCount].tcpListenSock = tcps;
|
||||
- _bindings[_bindingCount].address = ii->first;
|
||||
+ _bindings[(unsigned int)_bindingCount].udpSock = udps;
|
||||
+ _bindings[(unsigned int)_bindingCount].tcpListenSock = tcps;
|
||||
+ _bindings[(unsigned int)_bindingCount].address = ii->first;
|
||||
phy.setIfName(udps,(char*)ii->second.c_str(),(int)ii->second.length());
|
||||
++_bindingCount;
|
||||
}
|
||||
--
|
||||
2.29.2
|
||||
|
||||
Reference in New Issue
Block a user