diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-14 15:30:54 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-14 15:30:54 +0000 |
commit | ce43bbe67702fa6433940b389493276667b1e3dc (patch) | |
tree | 08960a5f8067f7de72283659e171c87a129e17da /net/findmtu/files | |
parent | - Update to 2.0.9 (diff) |
FindMTU is a tool that performs IPv6 path MTU discovery. You can use it
to debug network problems and to detect IPv6-in-IPv4 tunnels in the path
to a destination.
FindMTU only performs IPv6 path MTU discovery. It does not know about
IPv4.
PR: ports/68985
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes:
svn path=/head/; revision=113656
Diffstat (limited to 'net/findmtu/files')
-rw-r--r-- | net/findmtu/files/findmtu.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/findmtu/files/findmtu.sh b/net/findmtu/files/findmtu.sh new file mode 100644 index 000000000000..a404f4f96eab --- /dev/null +++ b/net/findmtu/files/findmtu.sh @@ -0,0 +1,8 @@ +#!/bin/sh +if netstat -rn -f inet6 | grep -qv $1; then + # Delete host route. As it is not in the routing table, + # we are sure that it is a cloned route and can be deleted + # safely + route delete -inet6 $i > /dev/null 2> /dev/null +fi +%%PREFIX%%/bin/findmtu.real $1 |