[Xorp-hackers] Question on netlink_socket_utilities

Ben Greear greearb at candelatech.com
Mon Mar 17 12:09:16 PDT 2008


In the method FibConfigEntryGetNetlinkSocket::parse_buffer_netlink_socket(...)
there is a big for loop, but most of the case statements seem to break out
or return, especially the
         case RTM_NEWROUTE:
	case RTM_DELROUTE:
	case RTM_GETROUTE:

Is this on purpose, or should the line below be
changed to not return out of the method?

return (NlmUtils::nlm_get_to_fte_cfg(iftree, fte, nlh, rtmsg,
						 rta_len));

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list