diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-06 23:26:15 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-29 20:03:26 +0200 |
commit | c35b7e6bea0d4d7e0a080c5024fe49e3793c8c84 (patch) | |
tree | a865a2ab58a17de14cd56210b70b71d85dda5856 /pimd/pim_upstream.h | |
parent | ripngd: strcat -> strlcat (diff) | |
download | frr-c35b7e6bea0d4d7e0a080c5024fe49e3793c8c84.tar.xz frr-c35b7e6bea0d4d7e0a080c5024fe49e3793c8c84.zip |
pimd: strcpy -> strlcpy
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_upstream.h')
-rw-r--r-- | pimd/pim_upstream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h index 102826ac7..02ae99829 100644 --- a/pimd/pim_upstream.h +++ b/pimd/pim_upstream.h @@ -283,7 +283,8 @@ void pim_upstream_switch(struct pim_instance *pim, struct pim_upstream *up, const char *pim_upstream_state2str(enum pim_upstream_state join_state); #define PIM_REG_STATE_STR_LEN 12 -const char *pim_reg_state2str(enum pim_reg_state state, char *state_str); +const char *pim_reg_state2str(enum pim_reg_state state, char *state_str, + size_t state_str_len); int pim_upstream_inherited_olist_decide(struct pim_instance *pim, struct pim_upstream *up); |