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 /pbrd | |
| 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 'pbrd')
| -rw-r--r-- | pbrd/pbr_nht.h | 2 | ||||
| -rw-r--r-- | pbrd/pbr_zebra.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/pbrd/pbr_nht.h b/pbrd/pbr_nht.h index 9b67492fbc..a702a57155 100644 --- a/pbrd/pbr_nht.h +++ b/pbrd/pbr_nht.h @@ -36,7 +36,7 @@ struct pbr_nexthop_cache {  	struct pbr_nexthop_group_cache *parent;  	char vrf_name[VRF_NAMSIZ + 1]; -	char intf_name[INTERFACE_NAMSIZ + 1]; +	char intf_name[IFNAMSIZ + 1];  	struct nexthop nexthop; diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index d47a308ac8..e0a3d2e7e5 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -178,7 +178,7 @@ static int rule_notify_owner(ZAPI_CALLBACK_ARGS)  	enum zapi_rule_notify_owner note;  	struct pbr_map_sequence *pbrms;  	struct pbr_map_interface *pmi; -	char ifname[INTERFACE_NAMSIZ + 1]; +	char ifname[IFNAMSIZ + 1];  	uint64_t installed;  	if (!zapi_rule_notify_decode(zclient->ibuf, &seqno, &priority, &unique,  | 
