CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2022/03/20 22:35:41

Modified files:
        sbin/dhcpleased: dhcpleased.c dhcpleased.h parse.y 

Log message:
default the conffile variable to the default file name instead of NULL.

this avoids having to test for NULL and swap the right name in place
in a bunch of places. it also avoids having NULL passed to format
strings in the parser.

the only place where it actually matters if we're using the default
or not is when we're parsing the config. if you don't specify a
config, and the default file doesnt exist, that's ok.

ok florian@

Reply via email to