summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-11-03 15:25:10 +0100
committerTom Gundersen <teg@jklm.no>2015-11-11 15:42:38 +0100
commitb69015efd2752fd2719beec85496221304130b0b (patch)
tree5554f06070a175a4a08d9399d3c0d14cb9506af7 /src/basic
parent8ae4b6d12ca93fcfa17d209c40ea0b75c8a7f88e (diff)
sd-netlink: add support for RTA_PREF
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 71dad8f0ad..d539ed00e4 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -901,6 +901,10 @@ static inline int setns(int fd, int nstype) {
#define NDA_MAX (__NDA_MAX - 1)
#endif
+#ifndef RTA_PREF
+#define RTA_PREF 20
+#endif
+
#ifndef IPV6_UNICAST_IF
#define IPV6_UNICAST_IF 76
#endif