zebra: ZEBRA_MIN_FEC_LENGTH should be 5

If the client registers for 0.0.0.0/0 the length will be 5

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
Daniel Walton 2017-05-10 09:41:07 -04:00 committed by Donald Sharp
parent 343e90c328
commit b5ab78e691

View File

@ -934,7 +934,7 @@ zserv_rnh_unregister (struct zserv *client, int sock, u_short length,
return 0;
}
#define ZEBRA_MIN_FEC_LENGTH 9
#define ZEBRA_MIN_FEC_LENGTH 5
/* FEC register */
static int