Introduce an compatibility layer which is empty for now.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
Maximilian Wilhelm 2020-10-18 03:19:28 +02:00
parent 509b75bc73
commit d96f579d7f
5 changed files with 59 additions and 1 deletions

View file

@ -261,6 +261,12 @@ ifupdown_main(int argc, char *argv[])
return EXIT_FAILURE;
}
if(!lif_compat_apply(&collection))
{
fprintf(stderr, "%s: failed to apply compatibility glue\n", argv0);
return EXIT_FAILURE;
}
if (!lif_state_sync(&state, &collection))
{
fprintf(stderr, "%s: could not sync state\n", argv0);