mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
We are reading 11, not 10, fields from /proc/net/route.
This commit is contained in:
parent
645e0d213f
commit
95b634d28c
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ route_loop(route_t *r, route_handler callback, void *arg)
|
|||
&entry.route_gw.addr_ip, &iflags, &refcnt, &use,
|
||||
&metric, &mask, &mss, &win, &irtt);
|
||||
|
||||
if (i < 10 || !(iflags & RTF_UP))
|
||||
if (i < 11 || !(iflags & RTF_UP))
|
||||
continue;
|
||||
|
||||
entry.route_dst.addr_type = entry.route_gw.addr_type =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue