FT_IPv4 fields' values are 4-byte integers, not structures with a pointer.

Fix a tpyo while we're at it.

Change-Id: I1bde763ec2bd188c0f8afd1069db5a9f23963e8e
Reviewed-on: https://code.wireshark.org/review/24186
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-10-30 11:28:21 -07:00
parent bbae1d25c2
commit 0de8c6f4c7
1 changed files with 1 additions and 2 deletions

View File

@ -123,7 +123,7 @@ same_ftype(const enum ftenum ftype)
case FT_REL_OID:
return FT_OID;
/* XXX: the folowing are unqiue for now */
/* XXX: the folowing are unique for now */
case FT_IPv4:
case FT_IPv6:
@ -629,7 +629,6 @@ fvalue_get(fvalue_t *fv)
fv->ftype->ftype == FT_SYSTEM_ID ||
fv->ftype->ftype == FT_FCWWN ||
fv->ftype->ftype == FT_GUID ||
fv->ftype->ftype == FT_IPv4 ||
fv->ftype->ftype == FT_IPv6 ||
fv->ftype->ftype == FT_PCRE ||
fv->ftype->ftype == FT_PROTOCOL ||