woww: Make message direction detection be more flexible

This commit is contained in:
Gtker 2022-10-08 11:44:32 +02:00 committed by Alexis La Goutte
parent 7f46c9fc56
commit 75b312c659
1 changed files with 2 additions and 4 deletions

View File

@ -872,10 +872,8 @@ static int hf_woww_zone_or_sort = -1;
static int hf_woww_zones = -1;
/* AUTOGENERATED_END_HF */
#define WOWW_TCP_PORT 8085
#define WOWW_CLIENT_TO_SERVER pinfo->destport == WOWW_TCP_PORT
#define WOWW_SERVER_TO_CLIENT pinfo->srcport == WOWW_TCP_PORT
#define WOWW_CLIENT_TO_SERVER pinfo->srcport > pinfo->destport
#define WOWW_SERVER_TO_CLIENT pinfo->srcport < pinfo->destport
// Allocate 8 because tree wants 32 bit aligned data
#define WOWW_HEADER_ARRAY_ALLOC_SIZE 8