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 /babeld | |
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 'babeld')
-rw-r--r-- | babeld/babeld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index ebf8474f4..41fac6251 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -242,7 +242,7 @@ babel_get_myid(void) /* We failed to get a global EUI64 from the interfaces we were given. Let's try to find an interface with a MAC address. */ for(i = 1; i < 256; i++) { - char buf[INTERFACE_NAMSIZ], *ifname; + char buf[IFNAMSIZ], *ifname; unsigned char eui[8]; ifname = if_indextoname(i, buf); if(ifname == NULL) |