Merge pull request #12226 from spk-hebbar/zebra_fpm

zebra: Remove duplicate update of msg_type
This commit is contained in:
Donatas Abraitis 2022-10-31 13:12:58 +02:00 committed by GitHub
commit 4244085fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -899,7 +899,6 @@ static inline int zfpm_encode_route(rib_dest_t *dest, struct route_entry *re,
len = zfpm_netlink_encode_route(cmd, dest, re, in_buf, len = zfpm_netlink_encode_route(cmd, dest, re, in_buf,
in_buf_len); in_buf_len);
assert(fpm_msg_align(len) == len); assert(fpm_msg_align(len) == len);
*msg_type = FPM_MSG_TYPE_NETLINK;
#endif /* HAVE_NETLINK */ #endif /* HAVE_NETLINK */
break; break;