mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 01:49:03 +00:00
Updated the included libpcap to 1.5.3
This commit is contained in:
@@ -247,6 +247,7 @@ pcap_nametoportrange(const char *name, int *port1, int *port2, int *proto)
|
||||
free(cpy);
|
||||
return 0;
|
||||
}
|
||||
free(cpy);
|
||||
|
||||
if (*proto != save_proto)
|
||||
*proto = PROTO_UNDEF;
|
||||
@@ -414,6 +415,8 @@ pcap_ether_aton(const char *s)
|
||||
register u_int d;
|
||||
|
||||
e = ep = (u_char *)malloc(6);
|
||||
if (e == NULL)
|
||||
return (NULL);
|
||||
|
||||
while (*s) {
|
||||
if (*s == ':' || *s == '.' || *s == '-')
|
||||
|
||||
Reference in New Issue
Block a user