]> git.puffer.fish Git - mirror/frr.git/commit
zebra: send link parameters to zclients once they request interface info
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 18 Jan 2019 18:06:00 +0000 (16:06 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 19 Feb 2019 12:42:08 +0000 (09:42 -0300)
commit7758bfb16e150281ea03b0f273a5a0027356f6f8
tree1fe1533f7d226f7656d75519436f67bfca899d17
parent28e17435502ad1d9aa6ba928821f32a20eefbd28
zebra: send link parameters to zclients once they request interface info

We were sending ZEBRA_INTERFACE_LINK_PARAMS messages under the
following circumstances:
* New interface was created (via kernel or config);
* Interface went from down to up;
* Update in the link-params configuration.

Now also send ZEBRA_INTERFACE_LINK_PARAMS messages whenever a zclient
connects and sends a ZEBRA_INTERFACE_ADD request. Without this fix,
the client daemons don't receive interface link parameters if they
are configured in the zebra startup configuration.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zapi_msg.c