From f834ec71345c9ff57f15a344c27aa4ae21f2f164 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 22 Nov 2021 15:39:02 +0100 Subject: [PATCH] Fixed fields not being public --- DTO/beaconPacket.hpp | 2 +- DTO/probeRequestPacket.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DTO/beaconPacket.hpp b/DTO/beaconPacket.hpp index 292b818..35cc2fa 100644 --- a/DTO/beaconPacket.hpp +++ b/DTO/beaconPacket.hpp @@ -5,7 +5,7 @@ #include class BeaconPacket : Packet{ - std::string SSID; +public: }; #endif /* FDDB997A_BCD3_4056_BFEA_9FF6A548DACF */ diff --git a/DTO/probeRequestPacket.hpp b/DTO/probeRequestPacket.hpp index da29726..a2792b9 100644 --- a/DTO/probeRequestPacket.hpp +++ b/DTO/probeRequestPacket.hpp @@ -5,6 +5,7 @@ #include class ProbeRequestPacket : Packet{ +public: std::string requestSSID; };