pkg/ip: Ensure that SetupVeth returns correct hostVeth
authorTom Denham <tom@tomdee.co.uk>
Mon, 29 Aug 2016 21:10:36 +0000 (14:10 -0700)
committerTom Denham <tom@tomdee.co.uk>
Wed, 31 Aug 2016 21:17:25 +0000 (14:17 -0700)
commit31ef82276a4579f547a88c6a8a5c5a792abcfbfc
tree4491e172dbd629ad9adc3b3eb44e7cda237c7f1a
parent415d707faf0db1463c68222c1ea77d20bdcab84c
pkg/ip: Ensure that SetupVeth returns correct hostVeth

The veth is moved from the container NS to the host NS.
This is handled by the code that sets the link to UP but the wrong
hostVeth is returned to the calling code.
ip/link.go
ip/link_test.go