update firewall port update routes

This commit is contained in:
axolotle 2021-03-22 20:29:17 +01:00
parent 27eefcb286
commit 20553de539

View file

@ -1210,7 +1210,7 @@ firewall:
### firewall_allow()
allow:
action_help: Allow connections on a port
api: POST /firewall/<port>
api: PUT /firewall/<protocol>/allow/<port>
arguments:
protocol:
help: "Protocol type to allow (TCP/UDP/Both)"
@ -1243,7 +1243,7 @@ firewall:
### firewall_disallow()
disallow:
action_help: Disallow connections on a port
api: DELETE /firewall/<port>
api: PUT /firewall/<protocol>/disallow/<port>
arguments:
protocol:
help: "Protocol type to allow (TCP/UDP/Both)"