From 2efd1b9501058eb4a5f36f41b7479eee2db3b90f Mon Sep 17 00:00:00 2001 From: Cybwan Date: Fri, 10 Nov 2023 17:03:32 +0800 Subject: [PATCH] fix node walker in Ifa2String --- loxinet/layer3.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loxinet/layer3.go b/loxinet/layer3.go index 14f26053..20135a37 100644 --- a/loxinet/layer3.go +++ b/loxinet/layer3.go @@ -387,9 +387,8 @@ func Ifa2String(ifa *Ifa, it IterIntf) { } plen, _ := ifaEnt.IfaNet.Mask.Size() str = fmt.Sprintf("%s/%d - %s", ifaEnt.IfaAddr.String(), plen, flagStr) + it.NodeWalker(str) } - - it.NodeWalker(str) } // Ifas2String - Format all ifas to string