mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 06:13:02 +02:00
confd: Fix typo in veth code
Should check if any node under veth is changed instead of peer (does not exist).
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user