]> git.proxmox.com Git - mirror_frr.git/commit
lib: Pass the safi as a uint8_t
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Nov 2017 18:04:19 +0000 (13:04 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 13 Nov 2017 19:18:43 +0000 (14:18 -0500)
commit832d0f566ff1d2c010ff1816d9b5e9e39e687796
treea642e5387e9ab4fc8a0af433be7d9e6799613533
parentec93aa120e7f1e817cbbe0498a719d5392a049ba
lib: Pass the safi as a uint8_t

The safi encode/decode is using 2 bytes, which
may cause problems on some platforms.  Let's assume
that a safi is a uint8_t and work accordingly.

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