[Xorp-cvs] XORP cvs commit: xorp/fea/data_plane/fibconfig
Pavlin Radoslavov
pavlin at icir.org
Wed Nov 7 11:42:52 PST 2007
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2007-11-07 19:42:52 UTC
XORP CVS repository
Modified files:
fea/data_plane/fibconfig fibconfig_entry_set_routing_socket.cc
Log message:
Critical IPv6-related bug fix for setting the sockaddr len field
of the routes added to the kernel.
Previously it was explicitly (re)set to the rounded-up length
of the corresponding sockaddr structure. This had no effect for IPv4,
because the rounded-up value was same as the original value,
but created bogus entries for IPv6.
Note that if the IPvX::copy_out() method is used, there is no need
to explicitly set the sockaddr len field, because IPvX::copy_out()
will take care of it.
Bug found by: Hansi <hantongs AT gmail.com>
Revision Changes Path
1.15 +4 -21; commitid: 4e7a473213d87ea6; xorp/fea/data_plane/fibconfig/fibconfig_entry_set_routing_socket.cc
More information about the Xorp-cvs
mailing list