projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #304 from nmav/ocserv-crypt
[project/luci.git]
/
applications
/
luci-app-ocserv
/
luasrc
/
model
/
cbi
/
ocserv
/
users.lua
diff --git
a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
index
2e530c0
..
c4be181
100644
(file)
--- a/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
+++ b/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua
@@
-47,7
+47,7
@@
if fd then local ln
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
table.insert(lusers, {id, user, group, vpn_ip, ip, device, time, cipher, status})
end
if id then
table.insert(lusers, {id, user, group, vpn_ip, ip, device, time, cipher, status})
end