]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Upgraded maxpacket to 64k. Fixes #553
authorR.E. Wolff <R.E.Wolff@BitWizard.nl>
Fri, 31 Oct 2025 16:34:29 +0000 (17:34 +0100)
committerR.E. Wolff <R.E.Wolff@BitWizard.nl>
Fri, 31 Oct 2025 16:35:05 +0000 (17:35 +0100)
Makefile.am
ui/mtr.h

index 3737a93cd32b2cb6708044fbd8c6941093c24fe0..a74cb20f2c4e63223c2142957ac1a3ce3322ff13 100644 (file)
@@ -103,6 +103,7 @@ mtr_packet_SOURCES = \
        packet/command.c packet/command.h \
        packet/platform.h \
        packet/probe.c packet/probe.h \
+       packet/utils.h \
        packet/protocols.h \
        packet/timeval.c packet/timeval.h \
        packet/wait.h \
index 038b7d23d560e74701ae980cc4a5d6cd10fd9816..8e01cd4f5c5a277fec73793a9026655f85c5c8bb 100644 (file)
--- a/ui/mtr.h
+++ b/ui/mtr.h
@@ -68,7 +68,7 @@ typedef int time_t;
 #define MaxHost 256
 #define MinPort 1024
 #define MaxPort 65535
-#define MAXPACKET 4470          /* largest test packet size */
+#define MAXPACKET 65535          /* largest test packet size */
 #define MINPACKET 28            /* 20 bytes IP header and 8 bytes ICMP or UDP */
 #define MAXLABELS 8             /* http://kb.juniper.net/KB2190 (+ 3 just in case) */