Allow bigger snapshot lengths for D-Bus captures.
[metze/wireshark/wip.git] / wiretap / netxray.c
index cf1d6fb41cc8cb024e125af364fcbcaa78b00886..d298d03642d0adb58a0ca37b7e87845428391a79 100644 (file)
@@ -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;
        }