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

This commit is contained in:
Avesh Agarwal 2015-09-30 23:13:13 -04:00
parent 7f13cc4392
commit af90318222

View File

@ -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
}