diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-04-13 20:40:39 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-04-13 20:40:39 +0000 |
commit | 40ac3d7ac1cb29bf5d482e162c102c56a5e2e5e6 (patch) | |
tree | fb5ea6dc09883fcbc031da30ce5544ddd9a41822 /route.h | |
parent | Version number increment. (diff) | |
download | openvpn-40ac3d7ac1cb29bf5d482e162c102c56a5e2e5e6.tar.xz |
Added --route-metric option to set a default route metric
for --route (Roy Marples).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1011 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | route.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,6 +65,8 @@ struct route_special_addr in_addr_t remote_host; bool remote_host_defined; struct route_bypass bypass; + int default_metric; + bool default_metric_defined; }; struct route_option { @@ -132,6 +134,7 @@ void clear_route_list (struct route_list *rl); bool init_route_list (struct route_list *rl, const struct route_option_list *opt, const char *remote_endpoint, + int default_metric, in_addr_t remote_host, struct env_set *es); |