diff options
Diffstat (limited to 'lib/zclient.c')
-rw-r--r-- | lib/zclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 850639f32..9f426f1ca 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -336,7 +336,7 @@ zclient_create_header (struct stream *s, uint16_t command, vrf_id_t vrf_id) 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) + u_char *version, vrf_id_t *vrf_id, u_int16_t *cmd) { if (stream_read (s, sock, ZEBRA_HEADER_SIZE) != ZEBRA_HEADER_SIZE) return -1; |