Re: Wireguard: can't remove multiple peers at once.

2021-01-24 Thread Richard Procter
Hi, > On 14/01/2021, at 8:33 PM, YASUOKA Masahiko wrote: > > Hi, > > On Thu, 14 Jan 2021 08:54:36 +0900 > Yuichiro NAITO wrote: >> Does anybody please review my code? >> >> Yasuoka-san is my coleague of my work. >> So, he is interested in this topic. That’s why I CCed this mail. >> I don’t m

Re: Wireguard: can't remove multiple peers at once.

2021-01-13 Thread YASUOKA Masahiko
Hi, On Thu, 14 Jan 2021 08:54:36 +0900 Yuichiro NAITO wrote: > Does anybody please review my code? > > Yasuoka-san is my coleague of my work. > So, he is interested in this topic. That’s why I CCed this mail. > I don’t mean he is an reviewer. > >> 2021/01/12 11:27、Yuichiro NAITO のメール: >> I have

Re: Wireguard: can't remove multiple peers at once.

2021-01-13 Thread Yuichiro NAITO
Does anybody please review my code? Yasuoka-san is my coleague of my work. So, he is interested in this topic. That’s why I CCed this mail. I don’t mean he is an reviewer. > 2021/01/12 11:27、Yuichiro NAITO のメール: > > > Hi. > > I have set up multiple peers in a wg0 interface, > and tried to remo

Wireguard: can't remove multiple peers at once.

2021-01-11 Thread Yuichiro NAITO
Hi. I have set up multiple peers in a wg0 interface, and tried to remove more than one peers at once. Ifconfig(1) only removes the first peer. Command line was like following. ``` # ifconfig wg0 -wgpeer -wgpeer -wgpeer ``` Only was removed. I think next peer pointer isn't calculated in c