[OpenWrt-Devel] [PATCH] Fix broadcast DHCP client startup option in dhcp.sh

2012-11-08 Thread Hans Dedecker
Signed-off-by: Hans Dedecker hans.dedec...@technicolor.com
---
 package/netifd/files/lib/netifd/proto/dhcp.sh |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 9182d58..7b1fe37 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -26,7 +26,7 @@ proto_dhcp_setup() {
append dhcpopts -O $opt
done

-   [ $broadcast = 1 ]  broadcast=-O broadcast || broadcast=
+   [ $broadcast = 1 ]  broadcast=-B || broadcast=

proto_export INTERFACE=$config
proto_run_command $config udhcpc \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Fix broadcast DHCP client startup option in dhcp.sh

2012-11-08 Thread John Crispin

On 08/11/12 21:08, Hans Dedecker wrote:

Signed-off-by: Hans Dedeckerhans.dedec...@technicolor.com
---
  package/netifd/files/lib/netifd/proto/dhcp.sh |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 9182d58..7b1fe37 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -26,7 +26,7 @@ proto_dhcp_setup() {
append dhcpopts -O $opt
done

-   [ $broadcast = 1 ]  broadcast=-O broadcast || broadcast=
+   [ $broadcast = 1 ]  broadcast=-B || broadcast=

proto_export INTERFACE=$config
proto_run_command $config udhcpc \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel





this patch was applied on the 5th

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] Fix broadcast DHCP client startup option in dhcp.sh

2012-10-17 Thread Hans Dedecker
Signed-off-by: Hans Dedecker (hans.dedecker at technicolor.com)

Fixes the DHCP request broadcasts replies option parsing

---
 package/netifd/files/lib/netifd/proto/dhcp.sh |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 9182d58..7b1fe37 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -26,7 +26,7 @@ proto_dhcp_setup() {
append dhcpopts -O $opt
done

-   [ $broadcast = 1 ]  broadcast=-O broadcast || broadcast=
+   [ $broadcast = 1 ]  broadcast=-B || broadcast=

proto_export INTERFACE=$config
proto_run_command $config udhcpc \
-- 
1.7.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel