mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:18:12 +00:00
nc: Fix overflow in port and local_port argument
This commit is contained in:
parent
4ebc7306da
commit
006d2e6508
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
bool udp_mode = false;
|
||||
bool numeric_mode = false;
|
||||
DeprecatedString target;
|
||||
int port = 0;
|
||||
int local_port = 0;
|
||||
u16 port = 0;
|
||||
u16 local_port = 0;
|
||||
int maximum_tcp_receive_buffer_size_input = -1;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue