pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / lx / lxc / user-nic.diff
blob8edcb5d9b46d9040ecbfaafabde156d9cbb2abe0
1 diff --git a/src/lxc/network.c b/src/lxc/network.c
2 index 0a99d32..850e975 100644
3 --- a/src/lxc/network.c
4 +++ b/src/lxc/network.c
5 @@ -2940,7 +2940,7 @@ int lxc_find_gateway_addresses(struct lxc_handler *handler)
7 #ifdef IN_LIBLXC
9 -#define LXC_USERNIC_PATH LIBEXECDIR "/lxc/lxc-user-nic"
10 +#define LXC_USERNIC_PATH "/run/wrappers/bin/lxc-user-nic"
11 static int lxc_create_network_unpriv_exec(const char *lxcpath,
12 const char *lxcname,
13 struct lxc_netdev *netdev, pid_t pid,