Skip to content

Commit

Permalink
Merge branch 'jb18566_max_leases' into 'master'
Browse files Browse the repository at this point in the history
Set max_leases in udhcpd configuration



See merge request !5
  • Loading branch information
philippedeswert committed Apr 6, 2016
2 parents f703dcb + 285937b commit 2aa8ffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usb_moded-network.c
Expand Up @@ -364,6 +364,7 @@ static int write_udhcpd_conf(struct ipforward_data *ipforward, struct mode_list_
fprintf(conffile, "interface\t%s\n", interface);
fprintf(conffile, "option\tsubnet\t%s\n", netmask);
fprintf(conffile, "option\tlease\t3600\n");
fprintf(conffile, "max_leases\t15\n");

if(ipforward != NULL)
{
Expand Down

0 comments on commit 2aa8ffd

Please sign in to comment.