[PATCH] wg-quick: Unset the DNS first, then delete the WireGuard interface.

Jason A. Donenfeld Jason at zx2c4.com
Wed Mar 20 23:55:12 CET 2019


Hey Colin,

On Wed, Mar 20, 2019 at 4:46 PM Colin Finck <mail at colinfinck.de> wrote:
>
> This prevents an "Unknown interface 'wg0': No such device" error on the command line.

Your patch seems basic and reasonable enough. However, I don't know
how to reproduce the error you're getting. Usually resolvconf doesn't
care if the interface is there or not. What OS/configuration is this
for you?

Jason


More information about the WireGuard mailing list