From 04e4d2582f9ae39df50b100b337ed057c66df571 Mon Sep 17 00:00:00 2001 From: changluyi <47097611+changluyi@users.noreply.github.com> Date: Tue, 9 May 2023 15:52:30 +0800 Subject: [PATCH] fix underlay subnet kubectl ko trace error (#2773) --- dist/images/kubectl-ko | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/images/kubectl-ko b/dist/images/kubectl-ko index 94c7522c5a7..e25f944bd50 100755 --- a/dist/images/kubectl-ko +++ b/dist/images/kubectl-ko @@ -280,7 +280,7 @@ trace(){ if [ "$type" != "arp" -o "$4" = "reply" ]; then # need destination mac - if [ -z "dstMac" ]; then + if [ -z "$dstMac" ]; then if ipIsInCidr $dst $cidr; then set +o pipefail if [ $af -eq 4 ]; then