Skip to content

Commit

Permalink
Merge pull request #993 from pubyun/devel
Browse files Browse the repository at this point in the history
define buffer size by INET6_ADDRSTRLEN
  • Loading branch information
ywc689 authored Sep 2, 2024
2 parents ee736b3 + 30f601b commit b12ae54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipvs/ip_vs_proxy_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ int proxy_proto_insert(struct proxy_info *ppinfo, struct dp_vs_conn *conn,
void *rt;
int ppdoff, ppdatalen, room, mtu;
int oaf;
char ppv1buf[108], tbuf1[64], tbuf2[64];
char ppv1buf[108], tbuf1[INET6_ADDRSTRLEN], tbuf2[INET6_ADDRSTRLEN];
struct proxy_hdr_v2 *pphv2;

assert(ppinfo && conn && mbuf && l4hdr);
Expand Down

0 comments on commit b12ae54

Please sign in to comment.