opnsense / dhcp6c

OPNsense WIDE-DHCPv6 client
Other
22 stars 30 forks source link

Remove command line interface options #20

Closed marjohn56 closed 4 years ago

marjohn56 commented 4 years ago

When adding or removing interfaces., dhcp6c would need to be shut down as the interfaces were part of the command line. The interfaces are also stored in the config file. Using the config file rather than the command line means dhcp6c no longer needs to be shutdown, a sighup causes a reset and re-read of the config.

fichtner commented 4 years ago

I have to admit I changed the workflow of the proposed solution. special SIGHUP handing, I don't think interfaces were updated. You can still use command line for compatibility, do not bail on duplicated interfaces. See c53afdb66309604f193bc377152aeaffaab964de