dhcpclient: Load dictionary.dhcp from DICTDIR. #805

Merged
merged 1 commit into from Oct 6, 2014

Projects

None yet

2 participants

@spbnick
Collaborator
spbnick commented Oct 6, 2014

Load dictionary.dhcp from DICTDIR instead of RADDBDIR in dhcpclient.c,
as it is found only in the former.

This fixes the following error printed when invoking dhcpclient:

Failed reading dictionary.dhcp: dict_init: Couldn't open dictionary
"/etc/raddb/dictionary.dhcp": No such file or directory
@spbnick spbnick dhcpclient: Load dictionary.dhcp from DICTDIR.
Load dictionary.dhcp from DICTDIR instead of RADDBDIR in dhcpclient.c,
as it is found only in the former.

This fixes the following error printed when invoking dhcpclient:

    Failed reading dictionary.dhcp: dict_init: Couldn't open dictionary
    "/etc/raddb/dictionary.dhcp": No such file or directory
dda57af
@alandekok alandekok merged commit b662cfa into FreeRADIUS:v3.0.x Oct 6, 2014

1 check was pending

continuous-integration/travis-ci The Travis CI build is in progress
Details
@spbnick spbnick deleted the spbnick:dhcpclient-dict-load-fix branch Oct 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment