Skip to content

Commit 71516fb

Browse files
committed
chore(ifdata): Remove CIDR block from shell completion description
1 parent 00f4a71 commit 71516fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ifdata/cmd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func validArgs(_ *cobra.Command, args []string, _ string) ([]string, cobra.Shell
6666
desc := make([]string, 0, len(addrs))
6767
for _, addr := range addrs {
6868
if addr, ok := addr.(*net.IPNet); ok && addr.IP.To4() != nil {
69-
desc = append(desc, addr.String())
69+
desc = append(desc, addr.IP.String())
7070
}
7171
}
7272
names = append(names, iface.Name+"\t"+strings.Join(desc, ","))

0 commit comments

Comments
 (0)