mirror of
https://github.com/nmap/nmap.git
synced 2026-06-26 03:03:55 +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:
parent
b838242e01
commit
10f39ddd92
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class Port {
|
|||
|
||||
u16 portno;
|
||||
u8 proto;
|
||||
int state;
|
||||
u8 state;
|
||||
state_reason_t reason;
|
||||
|
||||
#ifndef NOLUA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue