Skip to content

Commit

Permalink
[daemon] Comment function add_new_interface().
Browse files Browse the repository at this point in the history
The return value was explained, because it is counter-intuitive.
  • Loading branch information
luis4a0 committed Jan 25, 2024
1 parent 9b71620 commit 2701104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/daemon/daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3347,6 +3347,7 @@ mp::MountHandler::UPtr mp::Daemon::make_mount(VirtualMachine* vm, const std::str

// This function configures the network interfaces whose MAC address is empty. They will stay in specs.extra_interfaces
// only if the backend is able to add them to the virtual machine. If not, they will be removed.
// The return value is a set of networks that couldn't be configured and thus were removed from specs.extra_interfaces.
std::unordered_set<std::string> mp::Daemon::configure_new_interfaces(const std::string& name,
mp::VirtualMachine& vm,
mp::VMSpecs& specs)
Expand Down

0 comments on commit 2701104

Please sign in to comment.