summaryrefslogtreecommitdiff
path: root/wiretap/eyesdn.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/eyesdn.c')
-rw-r--r--wiretap/eyesdn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/eyesdn.c b/wiretap/eyesdn.c
index c545373ffe..4a592714fb 100644
--- a/wiretap/eyesdn.c
+++ b/wiretap/eyesdn.c
@@ -300,10 +300,10 @@ read_eyesdn_rec(FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, int *err,
break;
}
- if(pkt_len > WTAP_MAX_PACKET_SIZE) {
+ if(pkt_len > WTAP_MAX_PACKET_SIZE_STANDARD) {
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("eyesdn: File has %u-byte packet, bigger than maximum of %u",
- pkt_len, WTAP_MAX_PACKET_SIZE);
+ pkt_len, WTAP_MAX_PACKET_SIZE_STANDARD);
return FALSE;
}