On Sun, Sep 5, 2021 at 10:27 PM Vojtěch Káně <[email protected]> wrote: > > > This is by design across all implementations, so that multiple peers can > > share the same stanzas after the [Interface] section. > Does that mean it's unfixable in the meaning you cannot detect it and > return appropriate error? > > > While being clearly my mistake, it took me multiple hours to understand > the problem instead of simply getting `cannot set peer foo as it already > is a public key of interface bar`. >
It sounds like we really need to document that in more obvious places, like wg(8), as that kind of confusion indeed must have been really frustrating. Jason
