ocserv: split UDP and TCP port configs 4308/head
authorQian <billsq@billsq.me>
Fri, 28 Apr 2017 00:55:11 +0000 (17:55 -0700)
committerQian <billsq@billsq.me>
Fri, 28 Apr 2017 00:55:11 +0000 (17:55 -0700)
commit4227dad822e0ddc7feb3e715ce5974f2965403b7
tree6c3aa6a5db328ab87f7f2b9995dcb0fcc99a2cad
parenta1a96fc9fa8312c87ee997d613e9e9de3f3a82d9
ocserv: split UDP and TCP port configs

Added a new config entry udp_port to split UDP port from TCP. This is
useful when particular port is blocked by the ISP.

udp_port falls back to port if not set to be compatible with current
config file.

Also fixed an ifname typo from the last commit.

Signed-off-by: Qian Sheng <billsq@billsq.me>
net/ocserv/Makefile
net/ocserv/files/ocserv.conf.template
net/ocserv/files/ocserv.init