lifecycle: rewrite bond-xmit-hash-policy as IF_BOND_XMIT_HASH_POLICY when building env
This commit is contained in:
parent
75bb913e82
commit
b9f1ae8254
1 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,9 @@ lif_lifecycle_run_phase(const struct lif_execute_opts *opts, struct lif_interfac
|
||||||
while (*ep++)
|
while (*ep++)
|
||||||
{
|
{
|
||||||
*ep = toupper(*ep);
|
*ep = toupper(*ep);
|
||||||
|
|
||||||
|
if (*ep == '-')
|
||||||
|
*ep = '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
lif_environment_push(&envp, envkey, (const char *) entry->data);
|
lif_environment_push(&envp, envkey, (const char *) entry->data);
|
||||||
|
|
Loading…
Reference in a new issue