-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75046/
-----------------------------------------------------------

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

Previously, when grabbing the destination, we would filter out the default 
address at 0.0.0.0/0 by checking that the dst pointer is pointing at an empty 
struct.
With newer operating systems, it seems to be possible that the dst pointer can 
be pointing at a valid struct that corresponds to 0.0.0.0/0.
To ensure that we are able accurately filter out the default route, we switch 
to the libnl function nl_addr_iszero to determine if the nl_addr struct 
corresponds to 0.0.0.0/0.


Diffs
-----

  src/linux/routing/route.cpp bdf29a9c7090fc9483cd89e68afaa694ef271f57 


Diff: https://reviews.apache.org/r/75046/diff/1/


Testing
-------


Thanks,

Jason Zhou

Reply via email to