To get the most out of epics with libbsd, I would like to see an option added to dhcpcd.
option 129 rtems_cmdline.

diff --git a/dhcpcd/dhcpcd-definitions.conf b/dhcpcd/dhcpcd-definitions.conf
index 84260861..cb7d4306 100644
--- a/dhcpcd/dhcpcd-definitions.conf
+++ b/dhcpcd/dhcpcd-definitions.conf
@@ -160,6 +160,10 @@ encap 8 byte provisioning_timer
 define 124     binhex                  vivco
 define 125     embed                   vivso
 embed          uint32                  enterprise_number
+
+# RTEMS
+define 129     string                  rtems_cmdline
+
 # Vendor options are shared between DHCP/DHCPv6
 # Their code is matched to the enterprise number defined above
 # see the end of this file for an example
diff --git a/dhcpcd/dhcpcd-embedded.c b/dhcpcd/dhcpcd-embedded.c
index 068a8dfd..b857eaba 100644
--- a/dhcpcd/dhcpcd-embedded.c
+++ b/dhcpcd/dhcpcd-embedded.c
@@ -154,6 +154,7 @@ const char *dhcpcd_embedded_conf[] = {
 "define 124 binhex vivco",
 "define 125 embed vivso",
 "embed uint32 enterprise_number",
+"define 129 string rtems_cmdline",
 "define 212 rfc5969 sixrd",
 "define6 1 binhex client_id",
 "define6 2 binhex server_id",

Danke Heinz
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to