diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-27 01:52:10 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-27 01:52:10 +0200 |
commit | e7a2870b4731c1e57f6fe1789d29e5104da448c2 (patch) | |
tree | d5da9da1604003c59ed39b5dc8692e95c12a5eb3 /lib/zclient.h | |
parent | debian: Add pimd to logrotate script (diff) | |
download | frr-e7a2870b4731c1e57f6fe1789d29e5104da448c2.tar.xz frr-e7a2870b4731c1e57f6fe1789d29e5104da448c2.zip |
lib: Fix vrf_id_t data type
We were reading a u_int16_t for vrf_id_t. While technically
the same thing, I'd like to make sure we think about vrf_id_t's
as vrf_id_t's.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r-- | lib/zclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 0940e23a2..6bb172596 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -198,7 +198,7 @@ extern int zclient_send_message(struct zclient *); extern void zclient_create_header (struct stream *, uint16_t, vrf_id_t); extern int zclient_read_header (struct stream *s, int sock, u_int16_t *size, u_char *marker, u_char *version, - u_int16_t *vrf_id, u_int16_t *cmd); + vrf_id_t *vrf_id, u_int16_t *cmd); extern struct interface *zebra_interface_add_read (struct stream *, vrf_id_t); extern struct interface *zebra_interface_state_read (struct stream *s, vrf_id_t); |