Loading javasrc/net/sourceforge/jpcap/net/PacketFactory.java +6 −2 Original line number Diff line number Diff line Loading @@ -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); } Loading @@ -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); } Loading Loading @@ -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); } Loading @@ -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); } Loading Loading
javasrc/net/sourceforge/jpcap/net/PacketFactory.java +6 −2 Original line number Diff line number Diff line Loading @@ -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); } Loading @@ -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); } Loading Loading @@ -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); } Loading @@ -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); } Loading