Skip to content

Commit

Permalink
nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 18, 2016
1 parent f049b3c commit 9b4d9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inbound_detour_dynamic.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (this *InboundDetourHandlerDynamic) refresh() error {
port := this.pickUnusedPort()
ichConfig, _ := config.GetTypedSettings()
ich, err := proxyregistry.CreateInboundHandler(config.Settings.Type, this.space, ichConfig, &proxy.InboundHandlerMeta{
Address: config.ListenOn.AsAddress(), Port: port, Tag: config.Tag, StreamSettings: config.StreamSettings})
Address: config.GetListenOnValue(), Port: port, Tag: config.Tag, StreamSettings: config.StreamSettings})
if err != nil {
delete(this.portsInUse, port)
return err
Expand Down

0 comments on commit 9b4d9cf

Please sign in to comment.