0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Netlink: Add workaround for older kernel headers

This commit is contained in:
Ondrej Zajicek (work) 2022-01-14 23:15:05 +01:00
parent e818f16448
commit 8988264a64

View File

@ -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)