Commit d0a323cb authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

net: Restore EXTLINK devices

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 96fdc017
...@@ -325,6 +325,9 @@ static int restore_link(NetDeviceEntry *nde, int nlsk) ...@@ -325,6 +325,9 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
switch (nde->type) { switch (nde->type) {
case ND_TYPE__LOOPBACK: case ND_TYPE__LOOPBACK:
return restore_one_link(nde, nlsk, NULL); return restore_one_link(nde, nlsk, NULL);
case ND_TYPE__EXTLINK:
/* see comment in protobuf/netdev.proto */
return restore_link_parms(nde, nlsk);
case ND_TYPE__VETH: case ND_TYPE__VETH:
return restore_one_link(nde, nlsk, veth_link_info); return restore_one_link(nde, nlsk, veth_link_info);
case ND_TYPE__TUN: case ND_TYPE__TUN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment