summaryrefslogtreecommitdiff
path: root/lib/zclient.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/zclient.h
parent8bc5979049cd188feb927105856f91356949c5e8 (diff)
parent79378e4d10268a2a3b950905ce4a51b80e3331ee (diff)
Merge pull request #11137 from opensourcerouting/if-name-len-fixes
*: standardize interface name maximum length
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 78eb73c530..9756923a69 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -618,7 +618,7 @@ struct zapi_sr_policy {
};
struct zapi_pw {
- char ifname[IF_NAMESIZE];
+ char ifname[INTERFACE_NAMSIZ];
ifindex_t ifindex;
int type;
int af;
@@ -631,7 +631,7 @@ struct zapi_pw {
};
struct zapi_pw_status {
- char ifname[IF_NAMESIZE];
+ char ifname[INTERFACE_NAMSIZ];
ifindex_t ifindex;
uint32_t status;
};