ifquery: Apply compatibility glue, too.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
Maximilian Wilhelm 2020-10-18 04:57:24 +02:00
parent a5761afd70
commit 56beefdd28

View file

@ -271,6 +271,12 @@ ifquery_main(int argc, char *argv[])
return EXIT_FAILURE; return EXIT_FAILURE;
} }
if (!lif_compat_apply(&collection))
{
fprintf(stderr, "%s: failed to apply compatibility glue\n", argv0);
return EXIT_FAILURE;
}
/* --list --state is not allowed */ /* --list --state is not allowed */
if (listing && (listing_stat || listing_running)) if (listing && (listing_stat || listing_running))
generic_usage(self_applet, EXIT_FAILURE); generic_usage(self_applet, EXIT_FAILURE);