|
@@ -280,7 +280,7 @@ struct dhcpv6_settings {
|
280
|
280
|
static int dhcpv6_applies ( struct settings *settings __unused,
|
281
|
281
|
const struct setting *setting ) {
|
282
|
282
|
|
283
|
|
- return ( setting->scope == &ipv6_scope );
|
|
283
|
+ return ( setting->scope == &dhcpv6_scope );
|
284
|
284
|
}
|
285
|
285
|
|
286
|
286
|
/**
|
|
@@ -341,7 +341,7 @@ static int dhcpv6_register ( struct dhcpv6_option_list *options,
|
341
|
341
|
}
|
342
|
342
|
ref_init ( &dhcpv6set->refcnt, NULL );
|
343
|
343
|
settings_init ( &dhcpv6set->settings, &dhcpv6_settings_operations,
|
344
|
|
- &dhcpv6set->refcnt, &ipv6_scope );
|
|
344
|
+ &dhcpv6set->refcnt, &dhcpv6_scope );
|
345
|
345
|
data = ( ( ( void * ) dhcpv6set ) + sizeof ( *dhcpv6set ) );
|
346
|
346
|
len = options->len;
|
347
|
347
|
memcpy ( data, options->data, len );
|
|
@@ -987,7 +987,7 @@ const struct setting filename6_setting __setting ( SETTING_BOOT, filename ) = {
|
987
|
987
|
.description = "Boot filename",
|
988
|
988
|
.tag = DHCPV6_BOOTFILE_URL,
|
989
|
989
|
.type = &setting_type_string,
|
990
|
|
- .scope = &ipv6_scope,
|
|
990
|
+ .scope = &dhcpv6_scope,
|
991
|
991
|
};
|
992
|
992
|
|
993
|
993
|
/** DNS search list setting */
|
|
@@ -996,5 +996,5 @@ const struct setting dnssl6_setting __setting ( SETTING_IP_EXTRA, dnssl ) = {
|
996
|
996
|
.description = "DNS search list",
|
997
|
997
|
.tag = DHCPV6_DOMAIN_LIST,
|
998
|
998
|
.type = &setting_type_dnssl,
|
999
|
|
- .scope = &ipv6_scope,
|
|
999
|
+ .scope = &dhcpv6_scope,
|
1000
|
1000
|
};
|