]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/kernel_socket.c
zebra: print unknown rule family as number
[mirror_frr.git] / zebra / kernel_socket.c
index f5aca2341deeb2262189c8a558c8da7a118b9113..c2812aa47b918a9277b88d86b3dc14aca24ac1ab 100644 (file)
@@ -1139,16 +1139,17 @@ void rtm_read(struct rt_msghdr *rtm)
         */
        if (rtm->rtm_type == RTM_CHANGE)
                rib_delete(afi, SAFI_UNICAST, VRF_DEFAULT, ZEBRA_ROUTE_KERNEL,
-                          0, zebra_flags, &p, NULL, NULL, RT_TABLE_MAIN,
-                          0, 0, true);
+                          0, zebra_flags, &p, NULL, NULL, 0, RT_TABLE_MAIN, 0,
+                          0, true);
        if (rtm->rtm_type == RTM_GET || rtm->rtm_type == RTM_ADD
            || rtm->rtm_type == RTM_CHANGE)
                rib_add(afi, SAFI_UNICAST, VRF_DEFAULT, ZEBRA_ROUTE_KERNEL, 0,
-                       zebra_flags, &p, NULL, &nh, RT_TABLE_MAIN, 0, 0, 0, 0);
+                       zebra_flags, &p, NULL, &nh, 0, RT_TABLE_MAIN,
+                       0, 0, 0, 0);
        else
                rib_delete(afi, SAFI_UNICAST, VRF_DEFAULT, ZEBRA_ROUTE_KERNEL,
-                          0, zebra_flags, &p, NULL, &nh, RT_TABLE_MAIN,
-                          0, 0, true);
+                          0, zebra_flags, &p, NULL, &nh, 0, RT_TABLE_MAIN, 0,
+                          0, true);
 }
 
 /* Interface function for the kernel routing table updates.  Support