mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Return an empty string for dot11 ssid, if ssid is present but empty
References issue mentioned in #128
This commit is contained in:
@@ -134,6 +134,12 @@ TEST_F(Dot11BeaconTest, SSID) {
|
||||
EXPECT_EQ(dot11.ssid(), "libtins");
|
||||
}
|
||||
|
||||
TEST_F(Dot11BeaconTest, EmptySSID) {
|
||||
Dot11Beacon dot11;
|
||||
dot11.ssid("");
|
||||
EXPECT_EQ(dot11.ssid(), "");
|
||||
}
|
||||
|
||||
TEST_F(Dot11BeaconTest, SupportedRates) {
|
||||
Dot11Beacon dot11;
|
||||
Dot11Beacon::rates_type rates, found_rates;
|
||||
|
||||
Reference in New Issue
Block a user