lifecycle: rewrite bond-xmit-hash-policy as IF_BOND_XMIT_HASH_POLICY when building env

This commit is contained in:
Ariadne Conill 2020-07-24 01:03:44 -06:00
parent 75bb913e82
commit b9f1ae8254

View file

@ -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);