Skip to content

Commit

Permalink
Merge pull request #480 from BSWANG/master
Browse files Browse the repository at this point in the history
fix reuse port issue on terway upgrade
  • Loading branch information
l1b0k authored Apr 21, 2023
2 parents 3fe8e5b + 7ac11bb commit 971022f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions policy/policyinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ fi
cleanup_felix
# for health check
if [ "$FELIX_HEALTHPORT" != "" ]; then
exec socat PIPE TCP-LISTEN:"$FELIX_HEALTHPORT",fork
exec socat PIPE TCP-LISTEN:"$FELIX_HEALTHPORT",fork,reuseaddr
else
exec socat PIPE TCP-LISTEN:9099,fork
exec socat PIPE TCP-LISTEN:9099,fork,reuseaddr
fi
fi

0 comments on commit 971022f

Please sign in to comment.