From 39b437ab62f9e5b95d79c50c3487247ba4240b8d Mon Sep 17 00:00:00 2001 From: Artem Bliznetsov Date: Sun, 7 Apr 2024 00:14:14 +0300 Subject: [PATCH] =?UTF-8?q?mtu=5Fdiscover=20-=20=D0=BF=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B2=D0=B0=D1=80=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=85=D0=BE=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mtu_discover.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mtu_discover.sh b/mtu_discover.sh index 58d3944..25f9870 100755 --- a/mtu_discover.sh +++ b/mtu_discover.sh @@ -9,6 +9,8 @@ then HOST=$1 fi +ping $HOST -c 5 || exit 2 + for (( i=1472; i>100; i-- )) do ping $HOST -M do -s $i -O -c 1 -W 0.3 && break