mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01:29 +00:00
Corrected some typos in portlist.h
This commit is contained in:
@@ -216,7 +216,7 @@ class Port {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
/* This is allocated only on demand by PortList::setServiceProbeResults
|
/* This is allocated only on demand by PortList::setServiceProbeResults
|
||||||
Pto save memory for the many closed or filtered ports that don't need it. */
|
to save memory for the many closed or filtered ports that don't need it. */
|
||||||
serviceDeductions *service;
|
serviceDeductions *service;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ class PortList {
|
|||||||
int forgetPort(u16 portno, u8 protocol);
|
int forgetPort(u16 portno, u8 protocol);
|
||||||
bool portIsDefault(u16 portno, u8 protocol);
|
bool portIsDefault(u16 portno, u8 protocol);
|
||||||
/* Saves an identification string for the target containing these
|
/* Saves an identification string for the target containing these
|
||||||
ports (an IP addrss might be a good example, but set what you
|
ports (an IP address might be a good example, but set what you
|
||||||
want). Only used when printing new port updates. Optional. A
|
want). Only used when printing new port updates. Optional. A
|
||||||
copy is made. */
|
copy is made. */
|
||||||
void setIdStr(const char *id);
|
void setIdStr(const char *id);
|
||||||
|
|||||||
Reference in New Issue
Block a user