summaryrefslogtreecommitdiffstats
path: root/sharpd
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-12-04 22:32:20 +0100
committerRenato Westphal <renato@opensourcerouting.org>2017-12-04 22:46:38 +0100
commit2e4c22961689fb7ddb973cac9c5cf930d5b7d85f (patch)
treef8a109eefae935dc2bc5a117ea167087b415dc55 /sharpd
parentMerge pull request #1496 from donaldsharp/install_failure (diff)
downloadfrr-2e4c22961689fb7ddb973cac9c5cf930d5b7d85f.tar.xz
frr-2e4c22961689fb7ddb973cac9c5cf930d5b7d85f.zip
*: make clippy usage more consistent
Fixes #1511. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'sharpd')
-rw-r--r--sharpd/sharp_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c
index 47bb37ce9..a35157faa 100644
--- a/sharpd/sharp_vty.c
+++ b/sharpd/sharp_vty.c
@@ -29,7 +29,9 @@
#include "sharpd/sharp_zebra.h"
#include "sharpd/sharp_vty.h"
+#ifndef VTYSH_EXTRACT_PL
#include "sharpd/sharp_vty_clippy.c"
+#endif
extern uint32_t total_routes;
extern uint32_t installed_routes;