Fix: resolve NPE by obtaining networkId from subnet instead of  port

Change-Id: Ib49a8627e601bc893062069daf6f266fcc8e8460
diff --git a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java
index b3340c6..7e15b25 100644
--- a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java
+++ b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java
@@ -330,7 +330,8 @@
                 return false;
             }
 
-            Network network = osNetworkService.network(event.port().getNetworkId());
+            Network network = osNetworkService.network(osSubnet.getNetworkId());
+
             if (network == null) {
                 log.warn("Network is not specified.");
                 return false;