Development
This commit is contained in:
parent
6d9aac0460
commit
59ac3c5973
20 changed files with 1466 additions and 1 deletions
11
docker/routlin-dash/app/pages/portforwarding/view.py
Normal file
11
docker/routlin-dash/app/pages/portforwarding/view.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import json
|
||||
|
||||
|
||||
def collect_tokens(cfg):
|
||||
return {
|
||||
'PROTOCOL_OPTIONS': json.dumps([
|
||||
{'value': 'tcp', 'label': 'TCP'},
|
||||
{'value': 'udp', 'label': 'UDP'},
|
||||
{'value': 'both', 'label': 'TCP/UDP'},
|
||||
]),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue