udhcp: fix wrong order of args here: index_in_strings(opt, dhcp_option_strings);

code shrink while at it:

function                                             old     new   delta
read_config                                          406     323     -83
This commit is contained in:
Denis Vlasenko
2008-03-20 12:47:01 +00:00
parent 0a0180cdc5
commit 027271e5a9
2 changed files with 24 additions and 32 deletions

View File

@@ -108,7 +108,7 @@ int send_inform(struct dhcpMessage *oldpacket);
/*** files.h ***/
int read_config(const char *file);
void read_config(const char *file);
void write_leases(void);
void read_leases(const char *file);
struct option_set *find_option(struct option_set *opt_list, uint8_t code);