]> git.proxmox.com Git - mirror_frr.git/commit - lib/vrf.c
*: convert northbound callbacks to new error handling model
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 15 May 2020 00:34:12 +0000 (21:34 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 28 May 2020 22:22:54 +0000 (19:22 -0300)
commit10bdc68f0c13e064dc487b4fdafc7d9124d9d697
tree40bf68beb7696ac4eef3dd7172419e1f55d15e6a
parentdf5eda3d8783a3436f43821a2840911d610fd89d
*: convert northbound callbacks to new error handling model

The northbound configuration callbacks should now print error
messages to the provided buffer (args->errmsg) instead of logging
them directly.  This will allow the northbound layer to forward the
error messages to the northbound clients in addition to logging them.

NOTE: many callbacks are returning errors without providing any
error message. This needs to be fixed long term.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_nb_config.c
lib/if.c
lib/vrf.c
zebra/zebra_nb_config.c