Fixing build flow (broken because of a missing return statement).
authorrtrimana <rtrimana@uci.edu>
Wed, 25 Apr 2018 01:00:55 +0000 (18:00 -0700)
committerrtrimana <rtrimana@uci.edu>
Wed, 25 Apr 2018 01:00:55 +0000 (18:00 -0700)
Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap [deleted file]
Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java

diff --git a/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap b/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap
deleted file mode 100644 (file)
index 8c945a0..0000000
Binary files a/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap and /dev/null differ
index 5d387d0ff6cdef92849f353552f8de7742fe8cc9..c724874e520cea6d3faa71dfd687f0550b57b0f2 100644 (file)
@@ -12,7 +12,7 @@ public class Main {
 
     public static void main(String[] args) throws Exception {
         System.out.println("it works");
 
     public static void main(String[] args) throws Exception {
         System.out.println("it works");
-        String file = "/home/rtrimana/pcap_processing/smart_home_traffic/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcap";
+        String file = "/home/rtrimana/pcap_processing/smart_home_traffic/Code/Projects/SmartPlugDetector/pcap/wlan1.local.dns.pcapdump";
         
         try {
             Pcap data = Pcap.fromFile(file);
         
         try {
             Pcap data = Pcap.fromFile(file);
@@ -25,6 +25,8 @@ public class Main {
     private String cloudIPAddress(String hostName) {
         if (hostName.equals("events.tplinkra.com"))
             return "205.251.203.26";
     private String cloudIPAddress(String hostName) {
         if (hostName.equals("events.tplinkra.com"))
             return "205.251.203.26";
+        else
+            return null;
     }
 
     // TODO move to separate class
     }
 
     // TODO move to separate class