summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-10 21:32:44 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-10 21:32:44 +0200
commit4faefc7ff884eae65a80e82313fd9f4bb859d6db (patch)
tree9ea001d5bbb7e2447d6dd78b5e9cc03c2503ec9c /src/network/networkd.h
parent496a5a69707653b231fbb350c0d8d837762248bb (diff)
networkd: always prefer dhcp routes over ipv4ll routes
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index c39d2213f9..9132e70217 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -42,7 +42,8 @@
#define CACHE_INFO_INFINITY_LIFE_TIME 0xFFFFFFFFU
#define VXLAN_VID_MAX (1u << 24) - 1
-#define DHCP_STATIC_ROUTE_METRIC 1024
+#define DHCP_ROUTE_METRIC 1024
+#define IPV4LL_ROUTE_METRIC 2048
typedef struct NetDev NetDev;
typedef struct Network Network;