diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-11-21 14:08:29 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-11-21 14:08:29 +0100 |
commit | 07b91ca0967fb898e4060367d485b85f965856e2 (patch) | |
tree | a19cca0d1c7d874a89735783660f495a56596f7b /ospfd | |
parent | Merge pull request #14710 from teletajp/fix_show_ospf_gr_helper_cmd (diff) | |
download | frr-07b91ca0967fb898e4060367d485b85f965856e2.tar.xz frr-07b91ca0967fb898e4060367d485b85f965856e2.zip |
*: 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 'ospfd')
-rw-r--r-- | ospfd/ospf_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index 808eeb50f..3ee1db755 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -932,7 +932,7 @@ struct ospf_interface *ospf_vl_new(struct ospf *ospf, { struct ospf_interface *voi; struct interface *vi; - char ifname[INTERFACE_NAMSIZ]; + char ifname[IFNAMSIZ]; struct ospf_area *area; struct in_addr area_id; struct connected *co; |