Skip to content

Commit 19888ed

Browse files
tcp: Made it able to call parse_options even if there arent any
1 parent a7f3d5d commit 19888ed

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/net/tcp/connection.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ std::string Connection::TCB::to_string() const {
921921
}
922922

923923
void Connection::parse_options(const Packet& packet) {
924-
assert(packet.has_tcp_options());
925924
debug("<TCP::parse_options> Parsing options. Offset: %u, Options: %u \n",
926925
packet.offset(), packet.tcp_options_length());
927926

0 commit comments

Comments
 (0)