mirror of
https://github.com/mii443/sindan-client.git
synced 2025-08-23 00:35:39 +00:00
Fixed BUG at do_pmtud().
This commit is contained in:
@ -1639,7 +1639,7 @@ do_pmtud() {
|
|||||||
"6" ) command="ping6 -i 0.2 -W 1"; dfopt=""; header=48 ;;
|
"6" ) command="ping6 -i 0.2 -W 1"; dfopt=""; header=48 ;;
|
||||||
* ) echo "ERROR: <version> must be 4 or 6." 1>&2; return 9 ;;
|
* ) echo "ERROR: <version> must be 4 or 6." 1>&2; return 9 ;;
|
||||||
esac
|
esac
|
||||||
if $command -c 1 "$2" > /dev/null; then
|
if ! $command -c 1 "$2" > /dev/null; then
|
||||||
echo 0
|
echo 0
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user