libifupdown: lifecycle: IFACE env variable should be set to the logical ifname
This commit is contained in:
parent
96112d5dc9
commit
83d64b0a69
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ lif_lifecycle_run_phase(const struct lif_execute_opts *opts, struct lif_interfac
|
||||||
{
|
{
|
||||||
char **envp = NULL;
|
char **envp = NULL;
|
||||||
|
|
||||||
lif_environment_push(&envp, "IFACE", iface->ifname);
|
lif_environment_push(&envp, "IFACE", lifname);
|
||||||
lif_environment_push(&envp, "PHASE", phase);
|
lif_environment_push(&envp, "PHASE", phase);
|
||||||
|
|
||||||
/* try to provide $METHOD for ifupdown1 scripts if we can */
|
/* try to provide $METHOD for ifupdown1 scripts if we can */
|
||||||
|
|
Loading…
Reference in a new issue