mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't display a "mobile" user without a username.
This commit is contained in:
parent
69b6c2b5be
commit
52ec5df88e
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user