[PATCH] fw4: fix ipset comment field from bool to string

Paul D newtwen at gmail.com
Sat Jan 7 08:00:18 PST 2023


comment is documented as a string in the man page.

Ref: https://github.com/openwrt/luci/pull/6187#issuecomment-1374506633
Signed-off-by: Paul Dee <itsascambutmailmeanyway at gmail.com>
---
  root/usr/share/ucode/fw4.uc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/root/usr/share/ucode/fw4.uc b/root/usr/share/ucode/fw4.uc
index 5dce90d..0393508 100644
--- a/root/usr/share/ucode/fw4.uc
+++ b/root/usr/share/ucode/fw4.uc
@@ -3191,7 +3191,7 @@ return {
  			enabled: [ "bool", "1" ],
  			reload_set: [ "bool" ],
  			counters: [ "bool" ],
-			comment: [ "bool" ],
+			comment: [ "string" ],

  			name: [ "string", null, REQUIRED ],
  			family: [ "family", "4" ],
--
2.39.0



More information about the openwrt-devel mailing list