From 4532a89e31734a457d4debe56df713d66e31cdd6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 3 Aug 1999 19:37:37 +0000 Subject: Taught Netlink how to behave in IPv6 world. --- sysdep/linux/netlink/krt-scan.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sysdep/linux/netlink/krt-scan.h') diff --git a/sysdep/linux/netlink/krt-scan.h b/sysdep/linux/netlink/krt-scan.h index 0dd3d68..cdfe444 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 */ -- cgit v1.2.3