Commit af903182 authored by Avesh Agarwal's avatar Avesh Agarwal

Fixes crash when proxy is run with --cleanup-iptables=true.

parent 7f13cc43
......@@ -159,6 +159,7 @@ func NewProxyServerDefault(config *ProxyServerConfig) (*ProxyServer, error) {
// We ommit creation of pretty much everything if we run in cleanup mode
if config.CleanupAndExit {
return &ProxyServer{
Config: config,
IptInterface: iptInterface,
}, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment