Le 20/01/2016 10:34, Paul Jakma a écrit :
From: Paul Jakma <[email protected]>

* lib/zebra.h: Add ZEBRA_VRF_{ADD,DEL} messages
* zserv.c: (zsend_vrf_update) Send a list of added or deleted VRF Ids to
   all zclients
   (zsend_vrf_init) Send an Add of all valid VRFs to the given client.
   (zebra_client_create) Call previous helper to send all VRFs to new clients
   immediately.
* zserv.h: Export zsend_vrf_update helper.
* main.c: (zebra_vrf_{en,dis}able) Have the vrf enable/disable hooks
   call zsend_vrf_update to update all clients.
---
Acked-by: Nicolas Dichtel <[email protected]>

Just a nit:
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -773,6 +773,52 @@ zsend_router_id_update (struct zserv *client, struct 
prefix *p,
    return zebra_server_send_message(client);
  }

+/* Inform all clients of a newly added, valid VRF Id */
This function is used when a vrf is added or deleted. Maybe it could
be good to adjust the comment to reflect that.

+void
+zsend_vrf_update (struct zebra_vrf *zvrf, int cmd)
+{

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to