diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-01-14 23:15:05 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-01-14 23:15:05 +0100 |
commit | 8988264a64dc9985303332568832b108dba3acd3 (patch) | |
tree | 2bc7e110f85ed5eb378ec8610bc6f903d3342fc7 /sysdep/linux/netlink.c | |
parent | e818f16448e918ed07633480291283f3449dd9e4 (diff) |
Netlink: Add workaround for older kernel headers
Diffstat (limited to 'sysdep/linux/netlink.c')
-rw-r--r-- | sysdep/linux/netlink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 71b290fd..27b1a617 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -69,6 +69,10 @@ #define RTA_ENCAP 22 #endif +#ifndef NETLINK_GET_STRICT_CHK +#define NETLINK_GET_STRICT_CHK 12 +#endif + #define krt_ipv4(p) ((p)->af == AF_INET) #define krt_ecmp6(p) ((p)->af == AF_INET6) |