ldpd, zebra: Fix make dist compiles

The original clippy implementation used if VTYSH_EXTRACT_PL
was defined or not to know to include as part of the creation
of vtysh.

Follow their lead here.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-11-09 11:09:58 -05:00
parent 0db8196a96
commit ab59f4f7e3
2 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,9 @@
#include "ldpd/ldpd.h"
#include "ldpd/ldp_vty.h"
#ifndef VTYSH_EXTRACT_PL
#include "ldpd/ldp_vty_cmds_clippy.c"
#endif
DEFUN_NOSH(ldp_mpls_ldp,
ldp_mpls_ldp_cmd,

View File

@ -43,7 +43,9 @@
#include "zebra/zebra_static.h"
#include "lib/json.h"
#include "zebra/zebra_vxlan.h"
#ifndef VTYSH_EXTRACT_PL
#include "zebra/zebra_vty_clippy.c"
#endif
#include "zebra/zserv.h"
extern int allow_delete;