diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-14 17:15:52 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-14 17:17:32 +0200 |
commit | 37664928bdf161dc212d61984a754464bc0b8322 (patch) | |
tree | 24e847f2c7fcd898a422f8f615079c8d415ff60c /pimd/pim_iface.h | |
parent | pimd: Add new 'debug pim nht rp' command (diff) | |
download | frr-37664928bdf161dc212d61984a754464bc0b8322.tar.xz frr-37664928bdf161dc212d61984a754464bc0b8322.zip |
pimd: Allow igmp join messages to return more detailed errors
Start the conversion of pim configuration commands to use
the ferr side channel to allow more detailed information
to be returned to cli commands.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index ed885ff0e..2f27a1401 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -26,6 +26,7 @@ #include "vty.h" #include "vrf.h" #include "zclient.h" +#include "ferr.h" #include "pim_igmp.h" #include "pim_upstream.h" @@ -182,8 +183,8 @@ int pim_if_t_override_msec(struct interface *ifp); struct in_addr pim_find_primary_addr(struct interface *ifp); -int pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr, - struct in_addr source_addr); +ferr_r pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr, + struct in_addr source_addr); int pim_if_igmp_join_del(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr); |