summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-07-29 17:30:33 -0500
committerSamuel Holland <samuel@sholland.org>2017-07-29 17:30:33 -0500
commit748d780a47ecf3fb11c048939eb1bdc20654b37a (patch)
tree028cf53f279c354db64ec1c7f32bc17ae1c9bc09 /.gitignore
parent0494dd1404baec0d93944ceba888852a88b2acdb (diff)
Profile: Parse config file to a string per attribute
This parser should be able to handle any valid WireGuard or wg-quick configuration file. It separates the file into a single interface object and a peer object for each peer. All "[Interface]" sections in the file are combined into the one object. For now, later lines in a block with the same key overwrite earlier lines. This is only relevant for attributes that are lists, such as Address and AllowedIPs, where additional lines may be expected to append to the list. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions