summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-static.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-02 12:49:26 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-02 19:34:30 +0200
commit99440fc005d734d602fb9cd5b546e320c9b1e19b (patch)
treecf7c79956600861917034dac6f2b4bc4d45f9ced /interface-definitions/protocols-static.xml.in
parent939bbaa72db37010b4562b727778d06f371725ff (diff)
downloadvyos-1x-99440fc005d734d602fb9cd5b546e320c9b1e19b.tar.gz
vyos-1x-99440fc005d734d602fb9cd5b546e320c9b1e19b.zip
Makefile: fix logic to detect empty "node.def" files
Commit 5b22ebae ("T3170: check if any generated node.def files are empty") added an initial test to find empty node.def files created by build-command-templates or build-command-op-templates. The problem was that GNU find always returns 0, thus the condition to bail out on error was always met. This has been corrected to return false on hits only.
Diffstat (limited to 'interface-definitions/protocols-static.xml.in')
-rw-r--r--interface-definitions/protocols-static.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/protocols-static.xml.in b/interface-definitions/protocols-static.xml.in
index ab60649a0..baf13777a 100644
--- a/interface-definitions/protocols-static.xml.in
+++ b/interface-definitions/protocols-static.xml.in
@@ -1,6 +1,9 @@
<?xml version="1.0"?>
<interfaceDefinition>
<node name="protocols">
+ <properties>
+ <help>Routing protocols</help>
+ </properties>
<children>
<node name="static" owner="${vyos_conf_scripts_dir}/protocols_static.py">
<properties>