diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-05-04 07:44:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 07:44:26 -0400 |
| commit | 59ba0033469b4bff64866b464b82784e710be93b (patch) | |
| tree | 90517ed506f5c10dd660617241419518fb2b8640 /lib/zclient.c | |
| parent | 8bc5979049cd188feb927105856f91356949c5e8 (diff) | |
| parent | 79378e4d10268a2a3b950905ce4a51b80e3331ee (diff) | |
Merge pull request #11137 from opensourcerouting/if-name-len-fixes
*: standardize interface name maximum length
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 0c34214151..a933b6bb2b 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -3551,7 +3551,7 @@ enum zclient_send_status zebra_send_pw(struct zclient *zclient, int command, stream_reset(s); zclient_create_header(s, command, VRF_DEFAULT); - stream_write(s, pw->ifname, IF_NAMESIZE); + stream_write(s, pw->ifname, INTERFACE_NAMSIZ); stream_putl(s, pw->ifindex); /* Put type */ @@ -3598,7 +3598,7 @@ int zebra_read_pw_status_update(ZAPI_CALLBACK_ARGS, struct zapi_pw_status *pw) s = zclient->ibuf; /* Get data. */ - stream_get(pw->ifname, s, IF_NAMESIZE); + stream_get(pw->ifname, s, INTERFACE_NAMSIZ); STREAM_GETL(s, pw->ifindex); STREAM_GETL(s, pw->status); |
