linuxrouter/docker/routlin-dash/app/pages/intervlan/view.py
2026-06-02 00:47:03 -04:00

11 lines
256 B
Python

import json
def collect_tokens(cfg):
return {
'PROTOCOL_OPTIONS': json.dumps([
{'value': 'tcp', 'label': 'TCP'},
{'value': 'udp', 'label': 'UDP'},
{'value': 'both', 'label': 'TCP/UDP'},
]),
}