summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-09-26 20:12:13 +0200
committerGitHub <noreply@github.com>2020-09-26 20:12:13 +0200
commite4d09f608d927a6681d7f8633f9c65fca5096ed7 (patch)
tree042439a2f0094bc415e666456da5c8a2b1efffbf /bfdd/bfd.c
parentMerge pull request #7181 from volta-networks/fix_isis_timer_oflow (diff)
parentbfdd: use * as a placeholder for an empty interface name in northbound (diff)
downloadfrr-e4d09f608d927a6681d7f8633f9c65fca5096ed7.tar.xz
frr-e4d09f608d927a6681d7f8633f9c65fca5096ed7.zip
Merge pull request #7063 from idryzhov/yang-leafref
yang: use leafref instead of string
Diffstat (limited to 'bfdd/bfd.c')
-rw-r--r--bfdd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd.c b/bfdd/bfd.c
index 4877abd57..57e5909f5 100644
--- a/bfdd/bfd.c
+++ b/bfdd/bfd.c
@@ -2179,7 +2179,7 @@ void bfd_session_update_vrf_name(struct bfd_session *bs, struct vrf *vrf)
"[interface='%s']", bs->key.ifname);
else
slen += snprintf(xpath + slen, sizeof(xpath) - slen,
- "[interface='']");
+ "[interface='*']");
snprintf(xpath + slen, sizeof(xpath) - slen, "[vrf='%s']/vrf",
bs->key.vrfname);