diff options
author | jim-p <jimp@pfsense.org> | 2012-05-30 09:58:08 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-30 10:02:11 -0400 |
commit | 52ec5df88eddd7a1e1d776151c4dfda9c3d4cdf7 (patch) | |
tree | 4a26c1d3a36e7a50243672c737db2367a8b34bf0 /etc | |
parent | 69b6c2b5be02c42b444321f8a040cb043a2d9375 (diff) | |
download | pfsense-52ec5df88eddd7a1e1d776151c4dfda9c3d4cdf7.zip pfsense-52ec5df88eddd7a1e1d776151c4dfda9c3d4cdf7.tar.gz |
Don't display a "mobile" user without a username.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/ipsec.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc index 08d66e4..48abf56 100644 --- a/etc/inc/ipsec.inc +++ b/etc/inc/ipsec.inc @@ -520,7 +520,8 @@ function ipsec_dump_mobile() { $user['remote'] = $linea[2]; $user['logintime'] = $linea[3]; $user['spi'] = $linea[4]; - $mobile[] = $user; + if (!empty($user['username'])) + $mobile[] = $user; } pclose($fd); } |