diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-20 18:38:44 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-20 18:38:44 +0000 |
commit | 72746ea3890c6f599e04c2ed862538a169de5fda (patch) | |
tree | 290318f537f057cfa013d5f89c23df6f43475937 | |
parent | a5ac61715b70ef628e1239e92ffd7aae859e8294 (diff) |
budybox: 1.10.3 udhcpc fix
-rw-r--r-- | package/busybox/busybox-1.10.3-udhcpc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.10.3-udhcpc.patch b/package/busybox/busybox-1.10.3-udhcpc.patch new file mode 100644 index 000000000..fce5f048c --- /dev/null +++ b/package/busybox/busybox-1.10.3-udhcpc.patch @@ -0,0 +1,11 @@ +--- busybox-1.10.3/networking/udhcp/clientsocket.c Sat Apr 19 06:03:13 2008 ++++ busybox-1.10.3-udhcpc/networking/udhcp/clientsocket.c Fri Jun 20 16:48:32 2008 +@@ -76,7 +76,7 @@ + BPF_STMT(BPF_LD|BPF_W|BPF_IND, 0), + BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, SERVER_AND_CLIENT_PORTS, 0, 1), /* L3, L4 */ + /* returns */ +- BPF_STMT(BPF_RET|BPF_K, (~(uint32_t)0) ), /* L3: pass */ ++ BPF_STMT(BPF_RET|BPF_K, 0x0fffffff), /* L3: pass */ + BPF_STMT(BPF_RET|BPF_K, 0), /* L4: reject */ + }; + static const struct sock_fprog filter_prog = { |