Skip to content

Commit

Permalink
fix bug for laddr show
Browse files Browse the repository at this point in the history
  • Loading branch information
mscbg committed Nov 21, 2018
1 parent 32bd598 commit ad15770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ipvsadm/ipvsadm.c
Expand Up @@ -1957,7 +1957,7 @@ static void list_laddrs_print_service(struct ip_vs_get_laddrs *d)

static void list_laddrs_print_laddr(struct ip_vs_laddr_entry * entry)
{
char pbuf[32];
char pbuf[40];

inet_ntop(entry->af, (char *)&entry->addr, pbuf, sizeof(pbuf));

Expand Down

0 comments on commit ad15770

Please sign in to comment.