1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 06:59:01 +00:00

Add metric to struct route_entry.

Actually getting a nonzero value for the metric is supported only on
Linux and Windows.
This commit is contained in:
david
2013-02-01 05:01:56 +00:00
parent 913fbac6d1
commit f55171a088
6 changed files with 192 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ struct route_entry {
char intf_name[INTF_NAME_LEN]; /* interface name */
struct addr route_dst; /* destination address */
struct addr route_gw; /* gateway address */
int metric; /* per-route metric */
};
typedef struct route_handle route_t;