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:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user