diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-01-31 11:35:41 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-06 12:44:08 +0000 |
commit | f051072f8518097cbce1a8a20510c4e43cb7167c (patch) | |
tree | 7d113687fff867ee46013612b3d1693f0cc2aee8 /src/vnet/bier/bier_disp_table.c | |
parent | 7e2c31aba2aa9c2ffbcce235a8cc3c673aba2d2e (diff) |
BIER: fix support for longer bit-string lengths
Change-Id: I2421197b76be58099e5f8ed5554410adff202109
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/bier/bier_disp_table.c')
-rw-r--r-- | src/vnet/bier/bier_disp_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/bier/bier_disp_table.c b/src/vnet/bier/bier_disp_table.c index db4a2a82d2b..c663286efcb 100644 --- a/src/vnet/bier/bier_disp_table.c +++ b/src/vnet/bier/bier_disp_table.c @@ -210,7 +210,7 @@ bier_disp_table_lookup_hton(index_t bdti, { bier_hdr_src_id_t src = bp; - return (bier_disp_table_lookup(bdti, clib_host_to_net_u32(src))); + return (bier_disp_table_lookup(bdti, clib_host_to_net_u16(src))); } void |