# HG changeset patch # User William Welliver # Date 1634768613 14400 # Wed Oct 20 18:23:33 2021 -0400 # Node ID 99d3d7d1b6f002d59fb49bcdadbedfd314006982 # Parent 1710bbd7d33c02ba5e37669788f40c01e5189c88 document config options diff --git a/dhcpv6_pd.pike b/dhcpv6_pd.pike --- a/dhcpv6_pd.pike +++ b/dhcpv6_pd.pike @@ -46,11 +46,24 @@ object system_module; class Config { + // the upstream interface we wish to receive the delegation from string upstream_interface = "net0"; + + // the interface we wish to distribute the delegated address block to + // currently, we're only supporting one, but that could easily be changed. string downstream_interface = "net1"; + + // size of address range we'd like to have (but may not recieve) int requested_prefix = 64; + + // file where leases will be stored string leasefile = "/var/run/dhcpv6_pd_leases"; + // name of the service that provides route advertisements + // for systems such as MacOS, this is not system provided and + // the correct name must be provided + string advertisement_service_name; + protected variant void create() { }