mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Remove the struct scan_lists parameter from getpts_aux and some of its auxiliary functions. It was used only to keep track of the number of ports and protocols, which can be derived after the bit map is filled in. This is preparation for a minor refactoring of getpts so it can be used for ping port selection.
This commit is contained in:
@@ -117,7 +117,7 @@ struct protocol_list {
|
||||
struct protocol_list *next;
|
||||
};
|
||||
|
||||
int addprotocolsfromservmask(char *mask, u8 *porttbl, struct scan_lists *ports);
|
||||
int addprotocolsfromservmask(char *mask, u8 *porttbl);
|
||||
struct protoent *nmap_getprotbynum(int num);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user