mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 11:41:35 +01:00
Added PacketSender::recv_l2. Ethernet packets can now expect a response packet. ARP response is working now.
This commit is contained in:
@@ -135,7 +135,7 @@ bool Tins::Utils::hwaddr_to_byte(const std::string &hw_addr, uint8_t *array) {
|
||||
return true;
|
||||
}
|
||||
|
||||
string Tins::Utils::hwaddr_to_string(uint8_t *array) {
|
||||
string Tins::Utils::hwaddr_to_string(const uint8_t *array) {
|
||||
ostringstream oss;
|
||||
oss << hex;
|
||||
for(unsigned i(0); i < 6; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user