1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Link layer protocols can now be sent on BSD.

This commit is contained in:
Matias Fontanini
2012-11-28 16:50:47 -03:00
parent 6696c1b284
commit de82dc2322
6 changed files with 120 additions and 40 deletions

View File

@@ -188,7 +188,7 @@ void Dot11::send(PacketSender &sender) {
memcpy(&(addr.sll_addr), _header.addr1, 6);
sender.send_l2(*this, (struct sockaddr*)&addr, (uint32_t)sizeof(addr));
#else
sender.send_l2(*this, 0, 0);
sender.send_l2(*this, 0, 0, _iface);
#endif
}
#endif // WIN32