The latest update fixes the warning by applying const to the correct part of the pointer.
wg(8) is used to manage WireGuard interfaces; see wg(4) and wg(8) both for more details and usage examples.