mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1252: Merge correction for null pointer dereference retrieving the RADIUS NAS IP.
This commit is contained in:
@@ -351,7 +351,7 @@ public class ConfigurationService {
|
||||
String nasIpStr = environment.getProperty(RadiusGuacamoleProperties.RADIUS_NAS_IP);
|
||||
|
||||
// If property is specified and non-empty, attempt to return converted address.
|
||||
if (!(nasIpStr == null && nasIpStr.isEmpty()))
|
||||
if (nasIpStr != null && !nasIpStr.isEmpty())
|
||||
return InetAddress.getByName(nasIpStr);
|
||||
|
||||
// By default, return the address of the server.
|
||||
|
Reference in New Issue
Block a user