1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 16:39:03 +00:00

Remove dangling else

This commit is contained in:
dmiller
2019-12-26 16:46:17 +00:00
parent d497aa268e
commit 898988dcd3

View File

@@ -2633,12 +2633,6 @@ const char *ippackethdrinfo(const u8 *packet, u32 len, int detail) {
(tcpoptinfo[0]!='\0') ? " " : "",
tcpoptinfo, ipinfo);
}
} else{
/* If the packet does not fall into any other category, then we have a
really screwed-up packet. */
/* This ought to be unreachable; if static analysis flags it as such, delete it. */
Snprintf(protoinfo, sizeof(protoinfo), "TCP %s:?? > %s:?? ?? %s (invalid TCP)",
srchost, dsthost, ipinfo);
}
/* UDP INFORMATION ***********************************************************/