summaryrefslogtreecommitdiff
path: root/ldpd/ldp_vty_cmds.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-11-09 11:09:58 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-11-09 11:14:33 -0500
commitab59f4f7e3b83947bc00f40b9ecc251749a7112e (patch)
treedb2ea70f5fe7d4912e937318a31cb4c6b234f72e /ldpd/ldp_vty_cmds.c
parent0db8196a967778a8d4e1018329b635b5716d6a08 (diff)
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>
Diffstat (limited to 'ldpd/ldp_vty_cmds.c')
-rw-r--r--ldpd/ldp_vty_cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/ldp_vty_cmds.c b/ldpd/ldp_vty_cmds.c
index aa2e06dfb9..6c86582960 100644
--- a/ldpd/ldp_vty_cmds.c
+++ b/ldpd/ldp_vty_cmds.c
@@ -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,