1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Made rsn_information() a const member function to make Dot11ManagementFrame immutable

This commit is contained in:
Ulf Wetzker
2015-04-08 14:45:56 +02:00
parent fc950f643b
commit 7d7aae5929
2 changed files with 2 additions and 2 deletions

View File

@@ -834,7 +834,7 @@ public:
*
* \return std::string containing the ssid.
*/
RSNInformation rsn_information();
RSNInformation rsn_information() const;
/**
* \brief Helper method to search for this PDU's SSID.

View File

@@ -369,7 +369,7 @@ void Dot11ManagementFrame::vendor_specific(const vendor_specific_type &data) {
// Getters
RSNInformation Dot11ManagementFrame::rsn_information() {
RSNInformation Dot11ManagementFrame::rsn_information() const {
return search_and_convert<RSNInformation>(RSN);
}