Fixed setting of the "don't fragment" bit, it was placed into the wrong byte.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19631 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2006-12-26 18:00:27 +00:00
parent 03c2b46cdf
commit 569f4174e1
+1 -1
View File
@@ -139,7 +139,7 @@ IPService::Send(ip_addr_t destination, uint8 protocol, ChainBuffer *buffer)
header.type_of_service = 0;
header.total_length = htons(headerBuffer.TotalSize());
header.identifier = 0;
header.fragment_offset = IP_DONT_FRAGMENT;
header.fragment_offset = htons(IP_DONT_FRAGMENT);
header.time_to_live = IP_DEFAULT_TIME_TO_LIVE;
header.protocol = protocol;
header.checksum = 0;