projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22eeef
)
fw4: fix typo in emitted set types
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 30 May 2022 14:30:35 +0000
(16:30 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Mon, 30 May 2022 14:30:35 +0000
(16:30 +0200)
Fixes: #9927
Fixes: b0b8122 ("treewide: use modern syntax")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/ucode/fw4.uc
b/root/usr/share/ucode/fw4.uc
index cfef69c14c98c8c7f579c851a22407d60bc1358d..64439504be49a33566fa43fc49f38a49d9acdbb8 100644
(file)
--- 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}
s
addr`;
+ fields[i] = `ip ${dir}addr`;
break;
case 'ipv6_addr':
- fields[i] = `ip6 ${dir}
s
addr`;
+ fields[i] = `ip6 ${dir}addr`;
break;
case 'ether_addr':