mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Use a constant definition to say 'No Payload'
This commit is contained in:
parent
74de527b75
commit
5f557a3766
2 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ NpingOps::NpingOps() {
|
|||
isr00t_set=false;
|
||||
|
||||
/* Payloads */
|
||||
payload_type=0;
|
||||
payload_type=PL_NONE;
|
||||
payload_type_set=false;
|
||||
|
||||
payload_buff=NULL;
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@
|
|||
#define ROLE_SERVER 0x66
|
||||
|
||||
/* Payload types */
|
||||
#define PL_NONE 0x00
|
||||
#define PL_HEX 0xAA
|
||||
#define PL_RAND 0xBB
|
||||
#define PL_FILE 0xCC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue