Skip to content

Commit

Permalink
fix: nft add set_wifidogx_inner_trust_domains element error
Browse files Browse the repository at this point in the history
Signed-off-by: Dengfeng Liu <[email protected]>
  • Loading branch information
liudf0716 committed Jun 13, 2024
1 parent b49ec8a commit a0864d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ process_dns_response(unsigned char *response, int response_len) {
new_ip_trusted->next = p->ips_trusted;
p->ips_trusted = new_ip_trusted;
char cmd[128] = {0};
snprintf(cmd, sizeof(cmd), "nft add element set wifidogx_inner_trust_domains %s", ip);
snprintf(cmd, sizeof(cmd), "nft add element inet fw4 set_wifidogx_inner_trust_domains { %s }", ip);
system(cmd);
}
}
Expand Down

0 comments on commit a0864d7

Please sign in to comment.