mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Intermediate changes to support actual DHCP protocol engine
This commit is contained in:
@@ -234,6 +234,22 @@ void parse_host_decl (cfile, bc, decl)
|
||||
case OPTION:
|
||||
parse_option_decl (cfile, bc, decl);
|
||||
break;
|
||||
case CIADDR:
|
||||
decl -> ciaddr =
|
||||
tree_cache (parse_ip_addr_or_hostname (cfile, bc, 0));
|
||||
break;
|
||||
case YIADDR:
|
||||
decl -> yiaddr =
|
||||
tree_cache (parse_ip_addr_or_hostname (cfile, bc, 0));
|
||||
break;
|
||||
case SIADDR:
|
||||
decl -> siaddr =
|
||||
tree_cache (parse_ip_addr_or_hostname (cfile, bc, 0));
|
||||
break;
|
||||
case GIADDR:
|
||||
decl -> giaddr =
|
||||
tree_cache (parse_ip_addr_or_hostname (cfile, bc, 0));
|
||||
break;
|
||||
default:
|
||||
parse_warn ("expecting a dhcp option declaration.");
|
||||
skip_to_semi (cfile);
|
||||
|
Reference in New Issue
Block a user