mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Use a u8 instead of int for Port::state. This allows better struct
packing and reduces the size of objects by 4 bytes.
This commit is contained in:
@@ -182,7 +182,7 @@ class Port {
|
|||||||
|
|
||||||
u16 portno;
|
u16 portno;
|
||||||
u8 proto;
|
u8 proto;
|
||||||
int state;
|
u8 state;
|
||||||
state_reason_t reason;
|
state_reason_t reason;
|
||||||
|
|
||||||
#ifndef NOLUA
|
#ifndef NOLUA
|
||||||
|
|||||||
Reference in New Issue
Block a user