mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 04:39:01 +00:00
We are reading 11, not 10, fields from /proc/net/route.
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user