1
0
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:
david
2012-09-27 02:58:27 +00:00
parent 645e0d213f
commit 95b634d28c

View File

@@ -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 =