mirror of https://github.com/aredn/aredn.git
Fix WAN port forwarding. (#1474)
This commit is contained in:
parent
1df7fa3e05
commit
4d3818f8df
|
@ -331,7 +331,7 @@ if (f) {
|
|||
<option value="both" {{p.src == "both" ? "selected" : ""}}>Mesh & WAN</option>
|
||||
</select>
|
||||
{% } else { %}
|
||||
<input name="port_src" type="text" disabled value="WAN">
|
||||
<input name="port_src" type="text" disabled value="wan">
|
||||
{% } %}
|
||||
<input name="port_sports" type="text" required placeholder="Port or range" pattern="([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(?:-([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?" value="{{p.sports}}">
|
||||
<select name="port_type">
|
||||
|
@ -603,7 +603,7 @@ if (f) {
|
|||
<option value="both">Mesh & WAN</option>
|
||||
</select>
|
||||
{% } else { %}
|
||||
<input name="port_src" type="text" disabled value="WAN">
|
||||
<input name="port_src" type="text" disabled value="wan">
|
||||
{% } %}
|
||||
<input name="port_sports" type="text" required placeholder="Port or range" pattern="([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(?:-([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?" value="">
|
||||
<select name="port_type">
|
||||
|
|
Loading…
Reference in New Issue