11 lines
256 B
Python
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'},
|
|
]),
|
|
}
|