gluon-web-network: make roles "uplink" and "client" exclusive

This commit is contained in:
lemoer 2022-05-06 04:16:05 +02:00 committed by Alexander List
parent fee8384415
commit c982e7e0ff

View File

@ -118,6 +118,7 @@ uci:foreach('gluon', 'interface', function(config)
ifaces:value('uplink', 'Uplink') -- TODO: Uplink and Client should be mutually exclusive.
ifaces:value('mesh', 'Mesh')
ifaces:value('client', 'Client')
ifaces:exclusive('uplink', 'client')
ifaces.default = config.role