We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c2520 commit 089b160Copy full SHA for 089b160
1 file changed
src/confd/src/infix-firewall.c
@@ -68,6 +68,9 @@ static void mark_interfaces_used(struct lyd_node *cfg, char **ifaces)
68
{
69
struct lyd_node *node;
70
71
+ if (!ifaces)
72
+ return;
73
+
74
LYX_LIST_FOR_EACH(lyd_child(cfg), node, "interface") {
75
const char *ifname = lyd_get_value(node);
76
0 commit comments