|
@@ -363,6 +363,7 @@ static int dhcpv6_register ( struct dhcpv6_option_list *options,
|
363
|
363
|
/** Options to be requested */
|
364
|
364
|
static uint16_t dhcpv6_requested_options[] = {
|
365
|
365
|
htons ( DHCPV6_DNS_SERVERS ), htons ( DHCPV6_DOMAIN_LIST ),
|
|
366
|
+ htons ( DHCPV6_BOOTFILE_URL ), htons ( DHCPV6_BOOTFILE_PARAM ),
|
366
|
367
|
};
|
367
|
368
|
|
368
|
369
|
/**
|
|
@@ -969,3 +970,12 @@ int start_dhcpv6 ( struct interface *job, struct net_device *netdev,
|
969
|
970
|
ref_put ( &dhcpv6->refcnt );
|
970
|
971
|
return rc;
|
971
|
972
|
}
|
|
973
|
+
|
|
974
|
+/** Boot filename setting */
|
|
975
|
+const struct setting filename6_setting __setting ( SETTING_BOOT, filename ) = {
|
|
976
|
+ .name = "filename",
|
|
977
|
+ .description = "Boot filename",
|
|
978
|
+ .tag = DHCPV6_BOOTFILE_URL,
|
|
979
|
+ .type = &setting_type_string,
|
|
980
|
+ .scope = &ipv6_scope,
|
|
981
|
+};
|