Commit f46b81d6 authored by garciay's avatar garciay
Browse files

Validate RSUsimulator against AtsDenm in secured mode

parent 7ea95047
Loading
Loading
Loading
Loading
+2 −3
Changes for javasrc/adapter/org/etsi/its/adapter/PcapMultiplexer.java: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ public class PcapMultiplexer implements Runnable {
                          
        int r = Pcap.findAllDevs(alldevs, errbuf);  
        if (r == Pcap.NOT_OK || alldevs.isEmpty()) {  
          TERFactory.getInstance().logError("Can't read list of devices, error is %s" + errbuf.toString());  
          //TERFactory.getInstance().logError("Can't read list of devices, error is %s" + errbuf.toString());  
          return;  
        }  

@@ -94,8 +94,7 @@ public class PcapMultiplexer implements Runnable {
            pcap = Pcap.openLive(device.getName(), snaplen, flags, timeout, errbuf);  
              
            if (pcap == null) {  
              TERFactory.getInstance().logError("Error while opening device for capture: "  
                    + errbuf.toString());  
              //TERFactory.getInstance().logError("Error while opening device for capture: " + errbuf.toString());  
              return;  
            }  
            captureThread = new Thread(this);