summaryrefslogtreecommitdiff
path: root/packages/frr/patches/0003-bfdd-fix-parameter-length.patch
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-28 20:24:15 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-28 20:24:15 +0100
commit1040a4bdf7e0d1ccd70bf653d11a58de9bb0e09d (patch)
treec98c303fad08aa11bd6316236e61afc6044a55a4 /packages/frr/patches/0003-bfdd-fix-parameter-length.patch
parentc6f83de5bfa0262bd76882dc92dcd55f90fa0074 (diff)
downloadvyos-build-1040a4bdf7e0d1ccd70bf653d11a58de9bb0e09d.tar.gz
vyos-build-1040a4bdf7e0d1ccd70bf653d11a58de9bb0e09d.zip
frr: drop custom patches as they are now part of upstream repox
Diffstat (limited to 'packages/frr/patches/0003-bfdd-fix-parameter-length.patch')
-rw-r--r--packages/frr/patches/0003-bfdd-fix-parameter-length.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/packages/frr/patches/0003-bfdd-fix-parameter-length.patch b/packages/frr/patches/0003-bfdd-fix-parameter-length.patch
deleted file mode 100644
index 457b8a34..00000000
--- a/packages/frr/patches/0003-bfdd-fix-parameter-length.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From e6426ace1edadd3c27ac612815ebc994ea54ba39 Mon Sep 17 00:00:00 2001
-From: Igor Ryzhov <iryzhov@nfware.com>
-Date: Mon, 24 Aug 2020 18:45:53 +0300
-Subject: [PATCH] bfdd: fix parameter length
-
-There is no space reserved for "[source-addr='']".
-
-Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
----
- bfdd/bfdd_cli.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bfdd/bfdd_cli.c b/bfdd/bfdd_cli.c
-index 058ce7d1f..d115684b1 100644
---- a/bfdd/bfdd_cli.c
-+++ b/bfdd/bfdd_cli.c
-@@ -109,7 +109,7 @@ DEFPY_YANG_NOSH(
- VRF_NAME_STR)
- {
- int ret, slen;
-- char source_str[INET6_ADDRSTRLEN];
-+ char source_str[INET6_ADDRSTRLEN + 32];
- char xpath[XPATH_MAXLEN], xpath_srcaddr[XPATH_MAXLEN + 32];
-
- if (multihop)
-@@ -168,7 +168,7 @@ DEFPY_YANG(
- {
- int slen;
- char xpath[XPATH_MAXLEN];
-- char source_str[INET6_ADDRSTRLEN];
-+ char source_str[INET6_ADDRSTRLEN + 32];
-
- if (multihop)
- snprintf(source_str, sizeof(source_str), "[source-addr='%s']",
---
-2.20.1
-