*/
macTapIfName = networkBridgeDummyNicName(def->bridge);
if (!macTapIfName)
- goto err0;
+ goto error;
/* Keep tun fd open and interface up to allow for IPv6 DAD to happen */
if (virNetDevTapCreateInBridgePort(def->bridge,
&macTapIfName, &def->mac,
VIR_NETDEV_TAP_CREATE_IFUP |
VIR_NETDEV_TAP_CREATE_PERSIST) < 0) {
VIR_FREE(macTapIfName);
- goto err0;
+ goto error;
}
}
virNetworkObjUnrefMacMap(obj);
VIR_FREE(macMapFile);
- err0:
- if (!save_err)
- virErrorPreserveLast(&save_err);
ignore_value(virNetDevBridgeDelete(def->bridge));
virErrorRestore(&save_err);