aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-07 19:13:57 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-07 19:07:02 +0100
commitfad327ca65ef30cee2027f1e62d597f0b1c1b641 (patch)
treeb4a9fd2dbe33bcbadfc3dc0cca009f8a6ebf3da5 /src/net.h
parent3a6acd1772100d71de45355381d0d6ccf1320748 (diff)
fuzz: net permission flags in net processing
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index acc1da49a5..8ae184e473 100644
--- a/src/net.h
+++ b/src/net.h
@@ -402,7 +402,7 @@ public:
std::unique_ptr<TransportDeserializer> m_deserializer;
std::unique_ptr<TransportSerializer> m_serializer;
- // socket
+ NetPermissionFlags m_permissionFlags{PF_NONE};
std::atomic<ServiceFlags> nServices{NODE_NONE};
SOCKET hSocket GUARDED_BY(cs_hSocket);
/** Total size of all vSendMsg entries */
@@ -636,7 +636,6 @@ private:
//! service advertisements.
const ServiceFlags nLocalServices;
- NetPermissionFlags m_permissionFlags{ PF_NONE };
std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread
mutable RecursiveMutex cs_addrName;