1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Key service table on protocol number, not name

This commit is contained in:
dmiller
2022-09-16 01:10:19 +00:00
parent 6c6d4e33b5
commit 3a32543db0
4 changed files with 65 additions and 58 deletions

View File

@@ -75,7 +75,7 @@ struct nservent {
};
int addportsfromservmask(const char *mask, u8 *porttbl, int range_type);
const struct nservent *nmap_getservbyport(int port, const char *proto);
const struct nservent *nmap_getservbyport(u16 port, u16 proto);
void gettoppts(double level, const char *portlist, struct scan_lists * ports, const char *exclude_list = NULL);
void free_services();