moby / vpnkit

A toolkit for embedding VPN capabilities in your application
Apache License 2.0
1.1k stars 187 forks source link

Permit missing --gateway-forwards <file> #440

Closed djs55 closed 5 years ago

djs55 commented 5 years ago

Previously vpnkit would fail to start if the gateway forwards file didn't exist but the --gateway-forwards argument was provided. This makes it difficult to have the configuration written entirely dynamically, for example by another process starting in parallel.

With this patch vpnkit will log a warning but will read the file when it is created.

Signed-off-by: David Scott dave.scott@docker.com