From: Jo-Philipp Wich Date: Mon, 30 May 2022 14:30:35 +0000 (+0200) Subject: fw4: fix typo in emitted set types X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c4a78edb617a7157c5aa9f61cee2e2afc3ea2099;p=project%2Ffirewall4.git fw4: fix typo in emitted set types Fixes: #9927 Fixes: b0b8122 ("treewide: use modern syntax") Signed-off-by: Jo-Philipp Wich --- diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc index cfef69c..6443950 100644 --- a/root/usr/share/ucode/fw4.uc +++ b/root/usr/share/ucode/fw4.uc @@ -338,11 +338,11 @@ function map_setmatch(set, match, proto) { switch (t) { case 'ipv4_addr': - fields[i] = `ip ${dir}saddr`; + fields[i] = `ip ${dir}addr`; break; case 'ipv6_addr': - fields[i] = `ip6 ${dir}saddr`; + fields[i] = `ip6 ${dir}addr`; break; case 'ether_addr':