mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +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;
|
||||
u8 proto;
|
||||
int state;
|
||||
u8 state;
|
||||
state_reason_t reason;
|
||||
|
||||
#ifndef NOLUA
|
||||
|
||||
Reference in New Issue
Block a user