Skip to content

Commit

Permalink
Merge pull request #1529 from openziti/warn-mismatched-ports
Browse files Browse the repository at this point in the history
clarify a log warning about mismatched router ports behind an LB
  • Loading branch information
qrkourier authored Dec 20, 2023
2 parents 6cf11e2 + 22b54e8 commit 13c55f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/internal/edgerouter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func parseEdgeListenerOptions(index int, address string, edgeListenerMap map[int
}

if advertisePort != addressPort {
pfxlog.Logger().Warnf("port in [listeners[%d].options.advertise] must equal port in [listeners[%d].address] for edge binding but did not. Got [%d] [%d]", index, index, advertisePort, addressPort)
pfxlog.Logger().Infof("advertised port [%d] in [listeners[%d].options.advertise] does not match the listening port [%d] in [listeners[%d].address].", index, advertisePort, index, addressPort)
}

return &edge_ctrl_pb.Listener{
Expand Down

0 comments on commit 13c55f4

Please sign in to comment.