diff options
author | 2002-12-22 22:16:52 +0000 | |
---|---|---|
committer | 2002-12-22 22:16:52 +0000 | |
commit | fdbeaa4d8aacc03f0bbf58c33663e122e51c9f9e (patch) | |
tree | f8d430c8c435e83386af9ebdb48fa77de68c3f30 /sys-apps/netkit-base/files | |
parent | bugfix (diff) | |
download | gentoo-2-fdbeaa4d8aacc03f0bbf58c33663e122e51c9f9e.tar.gz gentoo-2-fdbeaa4d8aacc03f0bbf58c33663e122e51c9f9e.tar.bz2 gentoo-2-fdbeaa4d8aacc03f0bbf58c33663e122e51c9f9e.zip |
Updated ebuild with a patch for ping posted by
ragnar@linalco.com (Ragnar Hojland Espinosa) on bug # 12023.
Currently marked unstable.
Diffstat (limited to 'sys-apps/netkit-base/files')
-rw-r--r-- | sys-apps/netkit-base/files/digest-netkit-base-0.17-r7 | 1 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/netkit-base-0.17-wrong-byte-fix.patch | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/netkit-base/files/digest-netkit-base-0.17-r7 b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r7 new file mode 100644 index 000000000000..90e0df4a05c9 --- /dev/null +++ b/sys-apps/netkit-base/files/digest-netkit-base-0.17-r7 @@ -0,0 +1 @@ +MD5 1f0193358e92559ec0f598b09ccbc0ec netkit-base-0.17.tar.gz 56473 diff --git a/sys-apps/netkit-base/files/netkit-base-0.17-wrong-byte-fix.patch b/sys-apps/netkit-base/files/netkit-base-0.17-wrong-byte-fix.patch new file mode 100644 index 000000000000..2da89e57f3fc --- /dev/null +++ b/sys-apps/netkit-base/files/netkit-base-0.17-wrong-byte-fix.patch @@ -0,0 +1,20 @@ +--- netkit-base-0.17/ping/ping.c.O 2002-12-12 16:11:40.000000000 +0100 ++++ netkit-base-0.17/ping/ping.c 2002-12-12 16:14:26.000000000 +0100 +@@ -639,7 +639,7 @@ check_packet_data(void) + cp = INPACK_PAYLOAD; + dp = OUTPACK_PAYLOAD; + +- for (i=0; i<datalen-ICMP_MINLEN; i++) { ++ for (i=sizeof(struct timeval); i<datalen-ICMP_MINLEN; i++) { + if (cp[i] != dp[i]) { + printf("\n"); + printf("wrong data byte #%d should be 0x%x " +@@ -648,7 +648,7 @@ check_packet_data(void) + for (i=0; i<datalen-ICMP_MINLEN; i++) { + if ((i % 32) == 8) + printf("\n\t"); +- printf("%x ", cp[i]); ++ printf(" %x", cp[i]); + } + return; + } |