Excellent! That's much more concise.

- Matt

On Wed, Aug 8, 2018, 8:11 PM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
Thanks for letting me know. I've got a simpler reproducer now:

    #!/bin/bash

    a=( )
    for i in {1..197}; do
            a+=( abcd::$i )
    done

    s="$IFS"
    IFS=,
    a="${a[*]}"
    IFS="$s"

    ip link del wg0
    ip link add wg0 type wireguard
    wg set wg0 peer "$(wg genkey)" allowed-ips "$a"
    wg set wg0 peer "$(wg genkey)" allowed-ips "$a"
    wg

I'll have this fixed shortly and will ping back on this thread.

Jason