mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Remove accidental non-standard alternative token 'or'
This commit is contained in:
@@ -638,7 +638,7 @@ NetBlock *NetBlockHostname::resolve() const {
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
sp = first_af_address(&resolvedaddrs, this->af);
|
sp = first_af_address(&resolvedaddrs, this->af);
|
||||||
if (sp == NULL or sp->ss_family != this->af) {
|
if (sp == NULL || sp->ss_family != this->af) {
|
||||||
switch (this->af) {
|
switch (this->af) {
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
error("Warning: Hostname %s resolves, but not to any IPv4 address. Try scanning with -6", this->hostname.c_str());
|
error("Warning: Hostname %s resolves, but not to any IPv4 address. Try scanning with -6", this->hostname.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user