summaryrefslogtreecommitdiffstats
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-05-27 01:52:10 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-05-27 01:52:10 +0200
commite7a2870b4731c1e57f6fe1789d29e5104da448c2 (patch)
treed5da9da1604003c59ed39b5dc8692e95c12a5eb3 /lib/zclient.h
parentdebian: Add pimd to logrotate script (diff)
downloadfrr-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.h2
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);