Remove some assumptions about DHCP obtaining only a single options block.

This commit is contained in:
Michael Brown
2007-11-21 04:48:18 +00:00
parent 8d18338ae7
commit fb809da2df
4 changed files with 23 additions and 14 deletions

View File

@@ -512,6 +512,8 @@ dhcpopt_put ( struct dhcp_option_block *options ) {
ref_put ( &options->refcnt );
}
extern struct list_head dhcp_option_blocks;
extern unsigned long dhcp_num_option ( struct dhcp_option *option );
extern void dhcp_ipv4_option ( struct dhcp_option *option,
struct in_addr *inp );