diff --git a/plugins/main/ptp/ptp_test.go b/plugins/main/ptp/ptp_test.go index 6132cd9a..ac77d630 100644 --- a/plugins/main/ptp/ptp_test.go +++ b/plugins/main/ptp/ptp_test.go @@ -86,7 +86,7 @@ var _ = Describe("ptp Operations", func() { Expect(link.Attrs().Name).To(Equal(IFNAME)) for _, ipc := range res.IPs { - if ipc.Interface != 1 { + if *ipc.Interface != 1 { continue } seenIPs += 1