We could do something like this: https://git.zx2c4.com/wireguard-tools/commit/?h=jd/nft-version-detection But that seems pretty ugly and I think I'd rather not.