aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-04-28 22:34:33 +0000
committerMike Baker <mbm@openwrt.org>2006-04-28 22:34:33 +0000
commit7a2b8b79fdd7528de9733249074cf8d8a2c932e5 (patch)
tree3cd4801d66c288296b4e05ef1c8badd5b936f33e
parentf2769af01d1db0ee10473794132a4088ef47cebe (diff)
downloadupstream-7a2b8b79fdd7528de9733249074cf8d8a2c932e5.tar.gz
upstream-7a2b8b79fdd7528de9733249074cf8d8a2c932e5.tar.bz2
upstream-7a2b8b79fdd7528de9733249074cf8d8a2c932e5.zip
clean up code so it compiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3711 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/dhcp6/patches/02-gcc_lvalue.patch11
1 files changed, 11 insertions, 0 deletions
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 00000000000..e5deda69057
--- /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;
+ }
+