diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-11-21 08:08:29 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-11-21 08:08:29 -0500 | 
| commit | 07b91ca0967fb898e4060367d485b85f965856e2 (patch) | |
| tree | a19cca0d1c7d874a89735783660f495a56596f7b /bgpd/bgp_flowspec_vty.c | |
| parent | 77ff93b8f5f714880dfe56ff01a57870fd2ed8b6 (diff) | |
*: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZ
INTERFACE_NAMSIZ is just a redefine of IFNAMSIZ and IFNAMSIZ
is the standard for interface name length on all platforms
that FRR currently compiles on.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_flowspec_vty.c')
| -rw-r--r-- | bgpd/bgp_flowspec_vty.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c index a295ec5a14..d4ccca84bb 100644 --- a/bgpd/bgp_flowspec_vty.c +++ b/bgpd/bgp_flowspec_vty.c @@ -547,7 +547,7 @@ static int bgp_fs_local_install_interface(struct bgp *bgp,  			return CMD_SUCCESS;  		pbr_if = XCALLOC(MTYPE_TMP,  				 sizeof(struct bgp_pbr_interface)); -		strlcpy(pbr_if->name, ifname, INTERFACE_NAMSIZ); +		strlcpy(pbr_if->name, ifname, IFNAMSIZ);  		RB_INSERT(bgp_pbr_interface_head, head, pbr_if);  		*bgp_pbr_interface_any = false;  	} else {  | 
