ce43bbe677
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>
8 lines
264 B
Bash
8 lines
264 B
Bash
#!/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
|