diff options
Diffstat (limited to 'wiretap/netxray.c')
-rw-r--r-- | wiretap/netxray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c index cf1d6fb41c..d298d03642 100644 --- a/wiretap/netxray.c +++ b/wiretap/netxray.c @@ -1925,7 +1925,7 @@ netxray_dump_2_0(wtap_dumper *wdh, } /* Don't write anything we're not willing to read. */ - if (phdr->caplen > WTAP_MAX_PACKET_SIZE) { + if (phdr->caplen > WTAP_MAX_PACKET_SIZE_STANDARD) { *err = WTAP_ERR_PACKET_TOO_LARGE; return FALSE; } |