mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 10:19:03 +00:00
Change some digits in the ARP filter comment to avoid possible
confusion.
This commit is contained in:
@@ -5033,7 +5033,7 @@ static void begin_sniffer(UltraScanInfo *USI, vector<Target *> &Targets) {
|
|||||||
the request came from, therefore listening for ARP packets directed to
|
the request came from, therefore listening for ARP packets directed to
|
||||||
us is not enough. Look inside the ARP reply at the target address field
|
us is not enough. Look inside the ARP reply at the target address field
|
||||||
instead. The filter string will look like
|
instead. The filter string will look like
|
||||||
arp and arp[18:4] = 0xAABBCCDD and arp[22:2] = 0xCCDD */
|
arp and arp[18:4] = 0xAABBCCDD and arp[22:2] = 0xEEFF */
|
||||||
char macstring[2 * ETH_ADDR_LEN + 1];
|
char macstring[2 * ETH_ADDR_LEN + 1];
|
||||||
const u8 *mac = Targets[0]->SrcMACAddress();
|
const u8 *mac = Targets[0]->SrcMACAddress();
|
||||||
assert(mac);
|
assert(mac);
|
||||||
|
|||||||
Reference in New Issue
Block a user