diff --git a/DTO/beaconPacket.hpp b/DTO/beaconPacket.hpp index 67846ee..36caa36 100644 --- a/DTO/beaconPacket.hpp +++ b/DTO/beaconPacket.hpp @@ -4,8 +4,14 @@ #include "./packet.hpp" #include -class BeaconPacket : Packet{ +class BeaconPacket : public Packet{ public: + BeaconPacket() + {} + BeaconPacket(const Packet &packet) + : Packet(packet) + {} + std::string ssid; }; diff --git a/DTO/probeRequestPacket.hpp b/DTO/probeRequestPacket.hpp index a2792b9..ace4e23 100644 --- a/DTO/probeRequestPacket.hpp +++ b/DTO/probeRequestPacket.hpp @@ -4,9 +4,15 @@ #include "./packet.hpp" #include -class ProbeRequestPacket : Packet{ +class ProbeRequestPacket : public Packet{ public: - std::string requestSSID; + ProbeRequestPacket() + {} + ProbeRequestPacket(const Packet &packet) + : Packet(packet) + {} + + std::string requestSsid; }; #endif /* CD2BF199_8153_4F10_A85C_50883FAD66A8 */