Fixed wrong key used
This commit is contained in:
		
							parent
							
								
									16028daf10
								
							
						
					
					
						commit
						035491668a
					
				| @ -62,8 +62,8 @@ void textPacketHandler(std::vector<std::string> textPacket){ | |||||||
|     int bssidIndex = findContains(headerData, "BSSID:", 1); |     int bssidIndex = findContains(headerData, "BSSID:", 1); | ||||||
|     std::string bssidAddr = (bssidIndex != -1) ? headerData[bssidIndex].substr("BSSID:"s.length()) : ""; |     std::string bssidAddr = (bssidIndex != -1) ? headerData[bssidIndex].substr("BSSID:"s.length()) : ""; | ||||||
| 
 | 
 | ||||||
|     int taIndex = findContains(headerData, "SA:", 1); |     int taIndex = findContains(headerData, "TA:", 1); | ||||||
|     std::string tAddr = (taIndex != -1) ? headerData[taIndex].substr("SA:"s.length()) : ""; |     std::string tAddr = (taIndex != -1) ? headerData[taIndex].substr("TA:"s.length()) : ""; | ||||||
| 
 | 
 | ||||||
|     int raIndex = findContains(headerData, "RA:", 1); |     int raIndex = findContains(headerData, "RA:", 1); | ||||||
|     std::string rAddr = (raIndex != -1) ? headerData[raIndex].substr("RA:"s.length()) : ""; |     std::string rAddr = (raIndex != -1) ? headerData[raIndex].substr("RA:"s.length()) : ""; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user