[Xorp-cvs] XORP cvs commit: xorp/libproto xorp/pim
Pavlin Radoslavov
pavlin at icir.org
Mon Dec 25 18:11:49 PST 2006
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2006-12-26 02:11:49 UTC
XORP CVS repository
Modified files:
libproto packet.cc
pim pim_proto_register.cc
Log message:
Fix the byte ordering when using IpHeader4Writer::set_ip_sum()
with the result calculated from inet_checksum().
The former expects the value to be in host order, but the latter
calculates the result in network order.
This fixes a checksum issue with IPv4 PIM Null Register packets,
and a checksum issue with IP fragmentation in user space.
Revision Changes Path
1.3 +9 -5; commitid: 7ead4590843d7ea6; xorp/libproto/packet.cc
1.36 +2 -2; commitid: 7ead4590843d7ea6; xorp/pim/pim_proto_register.cc
More information about the Xorp-cvs
mailing list