Add flags and metric to ZT-managed routes.

This commit is contained in:
Adam Ierymenko 2016-06-09 09:43:09 -07:00
commit 82635ce606
2 changed files with 14 additions and 0 deletions

View file

@ -633,6 +633,16 @@ typedef struct
* Gateway IP address (port ignored) or NULL (family == 0) for LAN-local (no gateway)
*/
struct sockaddr_storage via;
/**
* Route flags
*/
uint16_t flags;
/**
* Route metric (not currently used)
*/
uint16_t metric;
} ZT_VirtualNetworkRoute;
/**