mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Make some args const.
This commit is contained in:
4
tcpip.cc
4
tcpip.cc
@@ -1949,8 +1949,8 @@ bool setTargetNextHopMAC(Target *target) {
|
||||
}
|
||||
|
||||
/* Like to getTargetNextHopMAC(), but for arbitrary hosts (not Targets) */
|
||||
bool getNextHopMAC(char *iface, u8 *srcmac, struct sockaddr_storage *srcss,
|
||||
struct sockaddr_storage *dstss, u8 *dstmac)
|
||||
bool getNextHopMAC(const char *iface, const u8 *srcmac, const struct sockaddr_storage *srcss,
|
||||
const struct sockaddr_storage *dstss, u8 *dstmac)
|
||||
{
|
||||
arp_t *a;
|
||||
struct arp_entry ae;
|
||||
|
||||
Reference in New Issue
Block a user