Changeset 2246


Ignore:
Timestamp:
Dec 24, 2012, 12:10:38 PM (6 years ago)
Author:
matthijs
Message:

openvpn: Fix copy-paste error in default protocol.

This value was only used when no protocol was specified in the openvpn
configuration, which should not normally happen, so this error shouldn't
have caused any problems.

References: #1188

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/openvpn/files/etc/fonstated/ReconfOpenVPN

    r2176 r2246  
    1818-- Make sure the services config opens up the right port
    1919local port = uci:get("openvpn", "openvpn", "port") or 1194
    20 local prot = uci:get("openvpn", "openvpn", "proto") or 1194
     20local prot = uci:get("openvpn", "openvpn", "proto") or "udp"
    2121uci:delete("services", "openvpn", "udp_port")
    2222uci:delete("services", "openvpn", "tcp_port")
Note: See TracChangeset for help on using the changeset viewer.