ptp: fix testcase for Interface int-pointer changes

This commit is contained in:
Dan Williams 2017-07-05 16:26:19 -05:00
parent a690f775ae
commit 0b9dbef185

View File

@ -86,7 +86,7 @@ var _ = Describe("ptp Operations", func() {
Expect(link.Attrs().Name).To(Equal(IFNAME)) Expect(link.Attrs().Name).To(Equal(IFNAME))
for _, ipc := range res.IPs { for _, ipc := range res.IPs {
if ipc.Interface != 1 { if *ipc.Interface != 1 {
continue continue
} }
seenIPs += 1 seenIPs += 1