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



src/linux/routing/route.cpp
<https://reviews.apache.org/r/20347/#comment73397>

    We should use AF_INET here, so that kernel will select IPv4 routes for us, 
and we will not need to check the family in the loop below.


- Cong Wang


On April 15, 2014, 1:35 a.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20347/
> -----------------------------------------------------------
> 
> (Updated April 15, 2014, 1:35 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Chi Zhang, Ian Downes, Vinod 
> Kone, and Cong Wang.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See summary. I actually added the interface for getting the main routing 
> table.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 560b4c7 
>   src/linux/routing/route.hpp PRE-CREATION 
>   src/linux/routing/route.cpp PRE-CREATION 
>   src/tests/routing_tests.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20347/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> also manually verify output against the output from netstat -rn
> 
> 
> Thanks,
> 
> Jie Yu
> 
>

Reply via email to