Skip to content

Commit

Permalink
Merge pull request iqiyi#573 from legend050709/fix_laddr_show_of_slav…
Browse files Browse the repository at this point in the history
…e_worker

dpvs: fix the problem of  showing the laddr info of  a slave worker
  • Loading branch information
ywc689 authored May 19, 2020
2 parents 5714d27 + 1ac3591 commit 7196c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ipvs/ip_vs_laddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ static int get_msg_cb(struct dpvs_msg *msg)

*laddrs = *laddr_conf;
laddrs->nladdrs = naddr;
laddrs->cid = cid;
for (i = 0; i < naddr; i++) {
laddrs->laddrs[i].af = addrs[i].af;
laddrs->laddrs[i].addr = addrs[i].addr;
Expand Down

0 comments on commit 7196c80

Please sign in to comment.