]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Consistency with radclient
authorAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 20:17:56 +0000 (16:17 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 20:17:56 +0000 (16:17 -0400)
src/modules/proto_dhcp/dhcpclient.c

index 6cad00bc0624a4d2887b8df12da8735adeca59da..0b268d95347e1a2eef11e89ae811fc1178de4b50 100644 (file)
@@ -471,7 +471,7 @@ int main(int argc, char **argv)
                return 1;
        }
 
-       if (dict_read(radius_dir, RADIUS_DICTIONARY) < 0) {
+       if (dict_read(radius_dir, RADIUS_DICTIONARY) == -1) {
                fr_perror("radclient");
                return 1;
        }