Skip to content

Commit

Permalink
fix node walker in Ifa2String
Browse files Browse the repository at this point in the history
  • Loading branch information
cybwan committed Nov 10, 2023
1 parent ae07490 commit 2efd1b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loxinet/layer3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2efd1b9

Please sign in to comment.