netdev-vport: don't use system type when opening netdev
authorThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Fri, 8 Jul 2016 17:52:01 +0000 (14:52 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Wed, 27 Jul 2016 12:05:58 +0000 (09:05 -0300)
commitfc5512881c0fd9022c80882ae479e69edd1af058
treed318fc720754a4fb576e46d12b021aec4ae5efef
parent4cdef2e29e4a51426471c37b9d1abe81af1794dd
netdev-vport: don't use system type when opening netdev

tunnel_check_status_change__ calls netdev_open with type system. Using NULL
instead will default to system in case the device is not opened yet, and allow a
different type in case it's already opened.

Any type should be fine, as netdev_get_carrier will work with any of them.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
lib/netdev-vport.c