nspawn: Make parameter provided_mac a const for setup_veth()

This commit is contained in:
Raul Cheleguini
2023-10-26 21:17:29 +01:00
committed by Luca Boccassi
parent b44a72da57
commit 5e21da878c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ int setup_veth(const char *machine_name,
pid_t pid,
char iface_name[IFNAMSIZ],
bool bridge,
struct ether_addr *provided_mac) {
const struct ether_addr *provided_mac) {
_cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
struct ether_addr mac_host, mac_container;