From 08990556e29831f1cf0c44a18af211dd695594fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 20 Dec 2024 14:46:52 +0100 Subject: [PATCH] confd: Fix typo in veth code Should check if any node under veth is changed instead of peer (does not exist). --- src/confd/src/ietf-interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/confd/src/ietf-interfaces.c b/src/confd/src/ietf-interfaces.c index 0f2b9abe..f2928e25 100644 --- a/src/confd/src/ietf-interfaces.c +++ b/src/confd/src/ietf-interfaces.c @@ -449,7 +449,7 @@ static bool netdag_must_del(struct lyd_node *dif, struct lyd_node *cif) if (lydx_get_descendant(lyd_child(dif), "vlan", NULL)) return true; } else if (!strcmp(iftype, "infix-if-type:veth")) { - if (lydx_get_descendant(lyd_child(dif), "peer", NULL)) + if (lydx_get_descendant(lyd_child(dif), "veth", NULL)) return true; /* } else if (!strcmp(iftype, "infix-if-type:lag")) {