diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-07-27 00:11:13 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-10-15 15:45:19 +0000 |
| commit | f93eee447e5664fa5cff99d9c07dab046d498749 (patch) | |
| tree | d960f19a290837e244f23d9977256bde81563515 /lib/table.c | |
| parent | 89678afd0ddfd42197c52d0100664b5c7faf1d38 (diff) | |
lib: convert prefixlen to 16-bit integer
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/table.c')
| -rw-r--r-- | lib/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/table.c b/lib/table.c index 3adb793891..1fb7d3e682 100644 --- a/lib/table.c +++ b/lib/table.c @@ -283,7 +283,7 @@ struct route_node *route_node_get(struct route_table *const table, struct route_node *node; struct route_node *match; struct route_node *inserted; - uint8_t prefixlen = p->prefixlen; + uint16_t prefixlen = p->prefixlen; const uint8_t *prefix = &p->u.prefix; apply_mask((struct prefix *)p); |
