aboutsummaryrefslogtreecommitdiff
path: root/route.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-04-05 07:30:04 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-04-05 07:30:04 +0000
commit55ff44b4efeab6741bc10778c7990d1e7cfbe51c (patch)
treefbd56f0999860c7e425aa2db2039e49963c56230 /route.c
parentI've recently worked on a better version of pkcs11-helper. I've also merged (diff)
downloadopenvpn-55ff44b4efeab6741bc10778c7990d1e7cfbe51c.tar.xz
svn merge -r 886:987 $SO/trunk/openvpn .
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@991 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--route.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/route.c b/route.c
index 5ca48bc..0b9a78e 100644
--- a/route.c
+++ b/route.c
@@ -936,6 +936,8 @@ delete_route (const struct route *r, const struct tuntap *tt, unsigned int flags
network,
netmask);
#endif /*CONFIG_FEATURE_IPROUTE*/
+ if (r->metric_defined)
+ buf_printf (&buf, " metric %d", r->metric);
msg (D_ROUTE, "%s", BSTR (&buf));
system_check (BSTR (&buf), es, 0, "ERROR: Linux route delete command failed");