Any reason why the max route table is limited to 256 and not the Linux limit of 32767?

Also any thoughts of adding dbus support or something similar for direct command injection (instead of rewriting the config and HUP'ing)?

Thanks.

-Bryan
diff --git a/sysdep/linux/krt-sys.h b/sysdep/linux/krt-sys.h
index 7b3043a..4219e97 100644
--- a/sysdep/linux/krt-sys.h
+++ b/sysdep/linux/krt-sys.h
@@ -30,7 +30,7 @@ static inline void kif_sys_copy_config(struct kif_config *d UNUSED, struct kif_c
 
 /* Kernel routes */
 
-#define NL_NUM_TABLES 256
+#define NL_NUM_TABLES 32767
 
 struct krt_params {
   int table_id;				/* Kernel table ID we sync with */

Reply via email to