Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3637 - Inconsistent list handling #8673

Closed
openwrt-bot opened this issue Feb 21, 2021 · 2 comments
Closed

FS#3637 - Inconsistent list handling #8673

openwrt-bot opened this issue Feb 21, 2021 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

mirodin:

In OpenWrt 19.07 starting from standard config line:

firewall.wan.network='wan wan6'

When creating an interface via Luci and assigning it to the 'wan' firewall zone the following gets created (old style list):

firewall.wan.network='wan wan6 vpn'

Running uci add_list firewall.wan.network='vpn' results in an invalid config:

firewall.wan.network='wan wan6' 'vpn'

I am not sure if this is a Luci or uci bug but it is reproducible in 19.07, see my forum thread about this: https://forum.openwrt.org/t/inconsistent-list-handling-in-uci-and-luci/89260

@openwrt-bot
Copy link
Author

mirodin:

I posted the same issue over at the Luci issue tracker so they can look into this as well: openwrt/luci#4827

@openwrt-bot
Copy link
Author

jow-:

Not a uci bug. add_list is not supposed to split existing values by spaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant