| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31610
|
|
|
|
|
|
| |
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31609
|
|
|
|
|
|
| |
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31608
|
|
|
|
| |
SVN-Revision: 31606
|
|
|
|
| |
SVN-Revision: 31605
|
|
|
|
|
|
| |
generic ppp code
SVN-Revision: 31604
|
|
|
|
| |
SVN-Revision: 31603
|
|
|
|
| |
SVN-Revision: 31602
|
|
|
|
|
|
| |
Reported-by: Sven Eckelmann <sven@narfation.org>
SVN-Revision: 31601
|
|
|
|
| |
SVN-Revision: 31600
|
|
|
|
| |
SVN-Revision: 31599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the following errors:
CALL arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
SVN-Revision: 31598
|
|
|
|
| |
SVN-Revision: 31597
|
|
|
|
| |
SVN-Revision: 31596
|
|
|
|
| |
SVN-Revision: 31595
|
|
|
|
| |
SVN-Revision: 31594
|
|
|
|
| |
SVN-Revision: 31593
|
|
|
|
| |
SVN-Revision: 31592
|
|
|
|
| |
SVN-Revision: 31591
|
|
|
|
| |
SVN-Revision: 31590
|
|
|
|
| |
SVN-Revision: 31589
|
|
|
|
| |
SVN-Revision: 31588
|
|
|
|
| |
SVN-Revision: 31587
|
|
|
|
| |
SVN-Revision: 31586
|
|
|
|
| |
SVN-Revision: 31576
|
|
|
|
| |
SVN-Revision: 31575
|
|
|
|
|
|
| |
Fixes #11372.
SVN-Revision: 31574
|
|
|
|
| |
SVN-Revision: 31573
|
|
|
|
|
|
| |
version
SVN-Revision: 31572
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.
It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.
Signed-off-by: David Favro <openwrt@meta-dynamic.com>
SVN-Revision: 31571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p
Here is the corrected patch.
-- David
From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.
* uh_urlencode() and uh_urldecode() now return an error condition for
buffer-overflow and malformed-encoding rather than normal return with corrupt
or truncated data. As HTTP request processing is currently implemented, this
causes a 404 HTTP status returned to the client, while 400 is more
appropriate.
* Exposed urlencode() to Lua.
* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
buffer-overflow and malformed-encoding rather than normal return with
incorrect data.
SVN-Revision: 31570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
input-buffer index against output-buffer length]. In reality, this would not
typically cause an overflow on decode, where the output string would be
expected to be shorter than the input string; and uh_urlencode() seems to have
been unreferenced in the source.
* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
input-string. While this could manifest in C code, the result was most
egregious when called from Lua, where it caused an extra null byte to be
embedded at the end of the output string.
* uh_urlencode() cleanup: removed redundant bitwise-and.
Signed-off-by: David Favro <openwrt@meta-dynamic.com>
SVN-Revision: 31569
|
|
|
|
| |
SVN-Revision: 31568
|
|
|
|
|
|
|
|
| |
[juhosg: export xt_layer7.h for all kernel versions]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31566
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.
Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31565
|
|
|
|
|
|
| |
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
removing a line(default is correct), and reversed the
Lan/wan layout LLLLW to WLLLL.
Added: image/Makefile now builds -factory.bin files. I am
unsure of the accepted way to change the makefile but
the name of the image needs to be 'linkn Kernel Image'
in order to be accepted by the OEM firmware.
Known issue: eth0 (internal switch i think has mac address:
00:11:22:33:44:55 but i think it should be same as
the lan).
Known issue: Pressing the reset button has no noticable effect,
i would expect the router to boot failsafe if being
pressed on boot, reboot if short press and reset all
to default if long press.
[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]
Signed-off-by: David Pearce <david_18051985@hotmail.com>
SVN-Revision: 31557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make serial console for DIR-300-B1 work again.
With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.
Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31556
|
|
|
|
| |
SVN-Revision: 31555
|
|
|
|
| |
SVN-Revision: 31554
|
|
|
|
| |
SVN-Revision: 31553
|
|
|
|
| |
SVN-Revision: 31552
|
|
|
|
| |
SVN-Revision: 31551
|
|
|
|
| |
SVN-Revision: 31550
|
|
|
|
| |
SVN-Revision: 31549
|
|
|
|
| |
SVN-Revision: 31548
|
|
|
|
| |
SVN-Revision: 31547
|
|
|
|
| |
SVN-Revision: 31546
|
|
|
|
| |
SVN-Revision: 31545
|
|
|
|
|
|
| |
up startup time
SVN-Revision: 31544
|