ptp: fix testcase for Interface int-pointer changes
authorDan Williams <dcbw@redhat.com>
Wed, 5 Jul 2017 21:26:19 +0000 (16:26 -0500)
committerDan Williams <dcbw@redhat.com>
Wed, 5 Jul 2017 21:26:19 +0000 (16:26 -0500)
plugins/main/ptp/ptp_test.go

index 6132cd9..ac77d63 100644 (file)
@@ -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