]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Remove duplicate updation of msg_type 12226/head
authorSpoorthi K <spk@redhat.com>
Sat, 29 Oct 2022 17:55:03 +0000 (23:25 +0530)
committerSpoorthi K <spk@redhat.com>
Sat, 29 Oct 2022 17:55:03 +0000 (23:25 +0530)
Signed-off-by: Spoorthi K <spk@redhat.com>
zebra/zebra_fpm.c

index c74c692ee14afb8699e0ee4d085962941bcdc313..f9f4ee476df553d6502acb7c59679b813ca2b403 100644 (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,
                                                in_buf_len);
                assert(fpm_msg_align(len) == len);
-               *msg_type = FPM_MSG_TYPE_NETLINK;
 #endif /* HAVE_NETLINK */
                break;