Netlink: Add workaround for older kernel headers
This commit is contained in:
parent
e818f16448
commit
8988264a64
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@
|
||||||
#define RTA_ENCAP 22
|
#define RTA_ENCAP 22
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NETLINK_GET_STRICT_CHK
|
||||||
|
#define NETLINK_GET_STRICT_CHK 12
|
||||||
|
#endif
|
||||||
|
|
||||||
#define krt_ipv4(p) ((p)->af == AF_INET)
|
#define krt_ipv4(p) ((p)->af == AF_INET)
|
||||||
#define krt_ecmp6(p) ((p)->af == AF_INET6)
|
#define krt_ecmp6(p) ((p)->af == AF_INET6)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue