diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-05-02 13:02:31 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-05-02 13:03:19 -0300 |
| commit | 79378e4d10268a2a3b950905ce4a51b80e3331ee (patch) | |
| tree | 37246d51d628b32a3a388681d540d98d1789ec31 /lib/if.h | |
| parent | 3682bd90f3c57657c3e04dffd9810b109ba6c5f3 (diff) | |
lib: change FRR interface name length definition
Use the OS provided maximum name length instead of defining an arbitrary
one.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/if.h')
| -rw-r--r-- | lib/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
