summaryrefslogtreecommitdiff
path: root/bfdd/bfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfdd/bfd.h')
-rw-r--r--bfdd/bfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h
index 00cc431e10..c861753704 100644
--- a/bfdd/bfd.h
+++ b/bfdd/bfd.h
@@ -190,8 +190,8 @@ struct bfd_key {
uint16_t mhop;
struct in6_addr peer;
struct in6_addr local;
- char ifname[MAXNAMELEN];
- char vrfname[MAXNAMELEN];
+ char ifname[INTERFACE_NAMSIZ];
+ char vrfname[VRF_NAMSIZ];
} __attribute__((packed));
struct bfd_session_stats {