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:
Axel Dörfler
2006-11-25 16:02:07 +00:00
parent 224e38e302
commit 3567d0cb1b
@@ -103,7 +103,7 @@ set_domain(net_interface *interface = NULL)
static inline void
bump_option(tcp_option *&option, size_t &length)
{
length = option->length;
length += option->length;
option = (tcp_option *)((uint8 *)option + option->length);
}