summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-11-22 09:13:58 +0200
committerGitHub <noreply@github.com>2023-11-22 09:13:58 +0200
commitb84476e0bb46ea7f6d6b6d180f06602b27a34ecd (patch)
tree0e3c7fbed0b2af64511696af62793143feae782b /lib/zclient.h
parent01af05fbd55edf444d2e39d9de44f5aef2b37719 (diff)
parent07b91ca0967fb898e4060367d485b85f965856e2 (diff)
Merge pull request #14850 from donaldsharp/IFNAMSIZ_GET_YOUR_SHIT_TOGETHER
*: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZ
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 73eb6a16d8..9b709ea64b 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -644,7 +644,7 @@ struct zapi_sr_policy {
};
struct zapi_pw {
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
int type;
int af;
@@ -657,7 +657,7 @@ struct zapi_pw {
};
struct zapi_pw_status {
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
uint32_t status;
};