From 58bbd97e98d12b3a4881b5d7ed16b99b82a2d684 Mon Sep 17 00:00:00 2001 From: John Burke Date: Thu, 21 Sep 2023 16:30:55 -0500 Subject: [PATCH] drouting: allow DB_BIGINT for dr_rules.ruleid column --- modules/drouting/dr_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/drouting/dr_load.c b/modules/drouting/dr_load.c index 946f06b92c6..60c62dfa1e5 100644 --- a/modules/drouting/dr_load.c +++ b/modules/drouting/dr_load.c @@ -641,7 +641,7 @@ rt_data_t* dr_load_routing_info(struct head_db *part, for(i=0; i < RES_ROW_N(res); i++) { row = RES_ROWS(res) + i; /* RULE_ID column */ - check_val( rule_id_drr_col, ROW_VALUES(row), DB_INT, 1, 0); + check_val2( rule_id_drr_col, ROW_VALUES(row), DB_INT, DB_BIGINT, 1, 0); int_vals[INT_VALS_RULE_ID_DRR_COL] = VAL_INT (ROW_VALUES(row)); /* GROUP column */ check_val( group_drr_col, ROW_VALUES(row)+1, DB_STRING, 1, 1);