diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-09-19 16:12:49 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-09-19 16:12:49 +0200 |
commit | 55c971f5ebca752105a99a5c353635590199d9eb (patch) | |
tree | 007ab4ef882f0377f17e2e09399d2fcb0430e61e /recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch | |
parent | 7e2256ab7046c0941ddd4f9e2628a27f7e05d2d8 (diff) | |
download | openembedded-55c971f5ebca752105a99a5c353635590199d9eb.tar.gz |
iputils : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch')
-rw-r--r-- | recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch b/recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch new file mode 100644 index 0000000000..63c8e76b3a --- /dev/null +++ b/recipes/obsolete/iputils/files/tracepath6-mtu-opt.patch @@ -0,0 +1,35 @@ +This patch adds a manual option to set the MTU. The method to determine the +local MTU is failing on sh4/2.6.14. It's not yet clear if this is an sh4, +2.6.14 and glibc bug. The manual mtu option allows tracepath6 to still be +used on this platform. + +--- new/tracepath6.c 2005/11/14 13:03:19 1.1 ++++ new/tracepath6.c 2005/11/14 13:04:24 +@@ -267,7 +267,7 @@ + + static void usage(void) + { +- fprintf(stderr, "Usage: tracepath6 [-n] [-b] <destination>[/<port>]\n"); ++ fprintf(stderr, "Usage: tracepath6 [-n] [-b] [-m <mtu>] <destination>[/<port>]\n"); + exit(-1); + } + +@@ -282,7 +282,7 @@ + struct hostent *he; + int ch; + +- while ((ch = getopt(argc, argv, "nbh?")) != EOF) { ++ while ((ch = getopt(argc, argv, "nbh?m:")) != EOF) { + switch(ch) { + case 'n': + no_resolve = 1; +@@ -290,6 +290,9 @@ + case 'b': + show_both = 1; + break; ++ case 'm': ++ mtu = atol(optarg); ++ break; + default: + usage(); + } |