Correctly get runtime LAN ifname and addresses
authorQian <billsq@billsq.me>
Wed, 26 Apr 2017 00:02:53 +0000 (17:02 -0700)
committerQian <billsq@billsq.me>
Wed, 26 Apr 2017 00:02:53 +0000 (17:02 -0700)
commit18313cbe6e9315947e1cf83c80c3d8c57b8ec5f6
tree02138629da359a07a03cf58c257a1d1bc5c6faf9
parented62d4aac7f7c83c565391a00ab80926b550e11c
Correctly get runtime LAN ifname and addresses

1. Correctly get LAN runtime ifname and addresses using network
functions
2. Do not store ip settings in config files as they may change next
time.
net/ocserv/files/ocserv.init [changed mode: 0644->0755]