mpls: number of mpls tunnel paths returns zero 06/23206/2
authorIJsbrand Wijnands <iwijnand@cisco.com>
Mon, 28 Oct 2019 16:19:27 +0000 (17:19 +0100)
committerNeale Ranns <nranns@cisco.com>
Mon, 4 Nov 2019 10:51:11 +0000 (10:51 +0000)
commitbf103d99e651f3b221361f6d964ae84870fd7a6b
tree2ad34294ffa76924722f7e0befb13ac6bf4a21cf
parent9654a37fac7fe2b425576eb0237b8d24ae44e1b1
mpls: number of mpls tunnel paths returns zero

The number of paths on the mpls tunnel returned through the bapi is
always zero. Doing a ntohl on a uint32 and poking it into a uint8 causes the problem.

Type: fix
Signed-off-by: IJsbrand Wijnands <ice@cisco.com>
Change-Id: I4135ad43a891e7818ca673c8067ef1f11cb34530
src/vnet/mpls/mpls_api.c