From a513824c343971e51603471948c958430b602371 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Tue, 1 Oct 2019 17:56:16 -0300 Subject: [PATCH] yang/lib: add filter model to code This fixes a warning on daemons that use route map about filter yang model not being included in the binary. Signed-off-by: Rafael Zalamena --- lib/subdir.am | 1 + yang/subdir.am | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/subdir.am b/lib/subdir.am index ffac721256..4f62eb2264 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -106,6 +106,7 @@ lib_libfrr_la_SOURCES = \ # end nodist_lib_libfrr_la_SOURCES = \ + yang/frr-filter.yang.c \ yang/frr-interface.yang.c \ yang/frr-route-map.yang.c \ yang/frr-route-types.yang.c \ diff --git a/yang/subdir.am b/yang/subdir.am index 7a15a6a309..c1297dafd5 100644 --- a/yang/subdir.am +++ b/yang/subdir.am @@ -19,6 +19,7 @@ EXTRA_DIST += yang/embedmodel.py # global symbols :(. Just put it in the daemon. Dynamic libraries.so work # without problems, as seen in libfrr. +dist_yangmodels_DATA += yang/frr-filter.yang dist_yangmodels_DATA += yang/frr-module-translator.yang dist_yangmodels_DATA += yang/frr-test-module.yang dist_yangmodels_DATA += yang/frr-interface.yang