From 9b4d9cf0e7c2cdfff6da9dbeb0090d5783f6881b Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 18 Oct 2016 10:04:15 +0200 Subject: [PATCH] nil pointer --- inbound_detour_dynamic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbound_detour_dynamic.go b/inbound_detour_dynamic.go index 5d7061027..05a588f6c 100644 --- a/inbound_detour_dynamic.go +++ b/inbound_detour_dynamic.go @@ -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