Fix incorrect boolean check for lat/long == 0.

Change-Id: I85672b455fb884ecac620b4dc38cddd9b4def8cd
diff --git a/providers/null/src/main/java/org/onosproject/provider/nil/cli/CreateNullDevice.java b/providers/null/src/main/java/org/onosproject/provider/nil/cli/CreateNullDevice.java
index 6332e6f..959a7c5 100644
--- a/providers/null/src/main/java/org/onosproject/provider/nil/cli/CreateNullDevice.java
+++ b/providers/null/src/main/java/org/onosproject/provider/nil/cli/CreateNullDevice.java
@@ -68,7 +68,7 @@
         DeviceId deviceId = sim.nextDeviceId();
         BasicDeviceConfig cfg = cfgService.addConfig(deviceId, BasicDeviceConfig.class);
         cfg.name(name);
-        if (latitude != 0 && longitude != 0) {
+        if (latitude != 0 || longitude != 0) {
             cfg.latitude(latitude);
             cfg.longitude(longitude);
         }