2
0
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:
Ted Lemon
1996-02-21 12:11:09 +00:00
parent d9c6d82c49
commit 97ca16995f
29 changed files with 972 additions and 120 deletions

View File

@@ -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);