Fix linux default subnet route metric on linux again.

This commit is contained in:
Roy Marples 2013-04-02 07:30:13 +00:00
parent 673e81e5b7
commit 8de3d52d88

2
ipv6.c
View File

@ -438,7 +438,7 @@ ipv6_removesubnet(const struct interface *ifp, struct ipv6_addr *addr)
if (rt) {
rt->iface = ifp;
#ifdef __linux__
rt->metric = 1024;
rt->metric = 256;
#else
rt->metric = 0;
#endif