summaryrefslogtreecommitdiff
path: root/packages/frr/patches/0002-tools-add-bfdd-to-frr-reload.py-daemons-list.patch
blob: 3d51e8dea25837173f83660c188d2889a3e267eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From a1019153294df7093c11dd7fc5b998c0b3a75085 Mon Sep 17 00:00:00 2001
From: Emanuele Di Pascale <emanuele@voltanet.io>
Date: Tue, 22 Dec 2020 18:20:14 +0100
Subject: [PATCH] tools: add bfdd to frr-reload.py daemons list

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Signed-off-by: Christian Poessinger <christian@poessinger.com>

(cherry picked from commit ee96c52a2828335c698c27ee7f7374204a97d4cb)
---
 tools/frr-reload.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 9f37d44aa..a3aed7719 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -1388,7 +1388,7 @@ if __name__ == '__main__':
         sys.exit(1)

     # verify that the daemon, if specified, is valid
-    if args.daemon and args.daemon not in ['zebra', 'bgpd', 'fabricd', 'isisd', 'ospf6d', 'ospfd', 'pbrd', 'pimd', 'ripd', 'ripngd', 'sharpd', 'staticd', 'vrrpd', 'ldpd']:
+    if args.daemon and args.daemon not in ['zebra', 'bgpd', 'fabricd', 'isisd', 'ospf6d', 'ospfd', 'pbrd', 'pimd', 'ripd', 'ripngd', 'sharpd', 'staticd', 'vrrpd', 'ldpd', 'bfdd']:
         log.error("Daemon %s is not a valid option for 'show running-config'" % args.daemon)
         sys.exit(1)

--
2.20.1