We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following NetJSON DeviceConfiguration object:
{ "interfaces": [ { "type": "ethernet", "name": "eth0", "disabled": false } ] }
Is converted to the following UCI configuration:
package network config interface 'eth0' option disabled '0' option ifname 'eth0' option proto 'none'
But according to the OpenWRT network documentation the option disabled does not exist: the right keyword is enabled.
disabled
enabled
Strangely, disabling the interface:
{ "interfaces": [ { "type": "ethernet", "name": "eth0", "disabled": true } ] }
returns a correct UCI configuration:
package network config interface 'eth0' option enabled '0' option ifname 'eth0' option proto 'none'
It's just a minor inconsistency but it's quite disorienting.
The text was updated successfully, but these errors were encountered:
[openwrt] Fixed interface enabled bug #57
d8d6e8e
Fixes issue #57 See #57
88ef58c
See #57
Fixed by 88ef58c
Sorry, something went wrong.
nemesifier
No branches or pull requests
The following NetJSON DeviceConfiguration object:
Is converted to the following UCI configuration:
But according to the OpenWRT network documentation the option
disabled
does not exist: the right keyword isenabled
.Strangely, disabling the interface:
returns a correct UCI configuration:
It's just a minor inconsistency but it's quite disorienting.
The text was updated successfully, but these errors were encountered: