summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 35e23ddf63..f3657822b8 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -271,6 +271,12 @@ struct redist_proto {
/**
* Redistribute table direct instance data structure: keeps the VRF
* that subscribed to the table ID.
+ *
+ * **NOTE**
+ * `table_id` is an integer because that is what the netlink interface
+ * uses for route attribute RTA_TABLE (32bit int), however the whole
+ * zclient API uses `unsigned short` (and CLI commands) so it will be
+ * limited to the range 1 to 65535.
*/
struct redist_table_direct {
vrf_id_t vrf_id;