Merge pull request #39 from dcbw/ptp-fix-test

ptp: fix testcase for Interface int-pointer changes
This commit is contained in:
Dan Williams 2017-07-05 16:39:48 -05:00 committed by GitHub
commit e7328869fa

View 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