Since BGPd is not currently setting ID and PROTOCOL in label
requests, temporally disable mismatch error propagation.
This commit will be reverted once fixes for BGPd and label
manager are integrated.
Signed-off-by: Fredi Raspall <fredi@voltanet.io>
if (proto != client->proto) {
zlog_err("%s: msg vs client proto mismatch, client=%u msg=%u",
op, client->proto, proto);
- return 1;
+ /* TODO: fail when BGP sets proto and instance */
+ /* return 1; */
}
if (instance != client->instance) {
zlog_err("%s: msg vs client instance mismatch, client=%u msg=%u",
op, client->instance, instance);
- return 1;
+ /* TODO: fail when BGP sets proto and instance */
+ /* return 1; */
}
return 0;