diff options
Diffstat (limited to 'sysdep/linux/netlink/krt-scan.h')
-rw-r--r-- | sysdep/linux/netlink/krt-scan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdep/linux/netlink/krt-scan.h b/sysdep/linux/netlink/krt-scan.h index 0dd3d68c..cdfe4443 100644 --- a/sysdep/linux/netlink/krt-scan.h +++ b/sysdep/linux/netlink/krt-scan.h @@ -15,6 +15,12 @@ * to krt-set.h, krt-iface.h and this file. */ +#ifdef IPV6 +#define NL_NUM_TABLES 1 +#else +#define NL_NUM_TABLES 256 +#endif + struct krt_scan_params { int async; /* Allow asynchronous events */ int table_id; /* Kernel table ID we sync with */ |