#!/bin/bash

wireguardListClients() 
{
    isHeader "Wireguard Client List"

    wireguardCheckClients;

    sudo grep -E "^### Client" "/etc/wireguard/${CFG_WG_SERVER_NIC}.conf" | cut -d ' ' -f 3 | nl -s ') '
}
