]> git.proxmox.com Git - mirror_frr.git/commit - lib/zclient.c
lib: Fix nexthop num
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 Aug 2017 12:30:08 +0000 (08:30 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 Aug 2017 12:30:08 +0000 (08:30 -0400)
commitb5f7965155038d947f733d6aee92915c3c5d581c
treefb869dd88adbc03919add9e4090812e9ed0de969
parent98ca91e95a8c0dbc3febe5e2ce84e1a6640c9459
lib: Fix nexthop num

If we assign MULTIPATH_NUM to be 256, this causes issues
for us since 256 is bigger than a u_char.  So let's make
the api's multipath_num to be a u_int16_t and pass it
around as a word.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/zclient.c
lib/zclient.h