Added more than one option was broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19371 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -103,7 +103,7 @@ set_domain(net_interface *interface = NULL)
|
|||||||
static inline void
|
static inline void
|
||||||
bump_option(tcp_option *&option, size_t &length)
|
bump_option(tcp_option *&option, size_t &length)
|
||||||
{
|
{
|
||||||
length = option->length;
|
length += option->length;
|
||||||
option = (tcp_option *)((uint8 *)option + option->length);
|
option = (tcp_option *)((uint8 *)option + option->length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user