summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-05-04 07:44:26 -0400
committerGitHub <noreply@github.com>2022-05-04 07:44:26 -0400
commit59ba0033469b4bff64866b464b82784e710be93b (patch)
tree90517ed506f5c10dd660617241419518fb2b8640 /lib/if.h
parent8bc5979049cd188feb927105856f91356949c5e8 (diff)
parent79378e4d10268a2a3b950905ce4a51b80e3331ee (diff)
Merge pull request #11137 from opensourcerouting/if-name-len-fixes
*: standardize interface name maximum length
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.h b/lib/if.h
index 53cd019464..1c948b875a 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -103,7 +103,7 @@ enum zebra_link_type {
#define IFNAMSIZ 16
*/
-#define INTERFACE_NAMSIZ 20
+#define INTERFACE_NAMSIZ IFNAMSIZ
#define INTERFACE_HWADDR_MAX 20
typedef signed int ifindex_t;