From 9e0cc6162c5b0d5c19fd4fe7ce8d17585781e64c Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Fri, 28 Apr 2006 22:34:33 +0000 Subject: [PATCH] clean up code so it compiles SVN-Revision: 3711 --- openwrt/package/dhcp6/patches/02-gcc_lvalue.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 openwrt/package/dhcp6/patches/02-gcc_lvalue.patch diff --git a/openwrt/package/dhcp6/patches/02-gcc_lvalue.patch b/openwrt/package/dhcp6/patches/02-gcc_lvalue.patch new file mode 100644 index 0000000000..e5deda6905 --- /dev/null +++ b/openwrt/package/dhcp6/patches/02-gcc_lvalue.patch @@ -0,0 +1,11 @@ +--- dhcp6-1.0/client/solicit.c 2025-06-28 23:21:40.000000000 -0700 ++++ dhcp6-1.0-patched/client/solicit.c 2006-04-27 15:32:52.000000000 -0700 +@@ -18,7 +18,7 @@ + dhcp_message_ptr -> opt = add_client_id_option (interface_details); + + opt_ptr = (struct OPTIONS *) dhcp_message_ptr -> opt; +- (struct OPTIONS *) ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details); ++ ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details); + return dhcp_message_ptr; + } + -- 2.25.1