Commit 293dae2c authored by juvancic's avatar juvancic
Browse files

updated TA

parent 34952494
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ public class PacketFactory
        // udp
      case IPProtocols.UDP: return new UDPPacket(lLen, bytes);
        // sctp
      //case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
      case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
        // unidentified ip..
      default: return new IPPacket(lLen, bytes);
      }
@@ -77,7 +77,7 @@ public class PacketFactory
          // udp
        case IPProtocols.UDP: return new UDPPacket(lLen, bytes);
          // sctp
        //case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
        case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
          // unidentified ip..
        default: return new IPPacket(lLen, bytes);
        }
@@ -123,6 +123,8 @@ public class PacketFactory
      case IPProtocols.TCP: return new TCPPacket(lLen, bytes, tv);
        // udp
      case IPProtocols.UDP: return new UDPPacket(lLen, bytes, tv);
        // sctp
      case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
        // unidentified ip..
      default: return new IPPacket(lLen, bytes, tv);
      }
@@ -138,6 +140,8 @@ public class PacketFactory
        case IPProtocols.TCP: return new TCPPacket(lLen, bytes);
          // udp
        case IPProtocols.UDP: return new UDPPacket(lLen, bytes);
          // sctp
        case IPProtocols.SCTP: return new SCTPPacket(lLen, bytes);
          // unidentified ip..
        default: return new IPPacket(lLen, bytes);
        }