projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ocserv: modified match to apply to newer versions of occtl
[project/luci.git]
/
applications
/
luci-app-ocserv
/
luasrc
/
controller
/
ocserv.lua
diff --git
a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
index
bb7fe3f
..
91bddc7
100644
(file)
--- a/
applications/luci-app-ocserv/luasrc/controller/ocserv.lua
+++ b/
applications/luci-app-ocserv/luasrc/controller/ocserv.lua
@@
-44,7
+44,7
@@
function ocserv_status()
if not ln then break end
local id, user, group, vpn_ip, ip, device, time, cipher, status =
if not ln then break end
local id, user, group, vpn_ip, ip, device, time, cipher, status =
- ln:match("^%s*(%d+)%s+([-_%w]+)%s+([%.%*-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+).*")
+ ln:match("^%s*(%d+)%s+([-_%w]+)%s+([%.%*-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%:%.-_%w]+)%s+([%
(%)%
:%.-_%w]+)%s+([%:%.-_%w]+).*")
if id then
fwd[#fwd+1] = {
id = id,
if id then
fwd[#fwd+1] = {
id = id,