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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user