diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2021-08-25 23:12:37 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-09 21:42:48 +0200 |
commit | 82c5eb8e4681ba345500e5c368fb54741bb0c450 (patch) | |
tree | c07e755a12962fab796bb06d351caa0227a3fd4c /include | |
parent | 857800c65584d544242c54eb873129c23ba20265 (diff) | |
download | busybox-w32-82c5eb8e4681ba345500e5c368fb54741bb0c450.tar.gz busybox-w32-82c5eb8e4681ba345500e5c368fb54741bb0c450.tar.bz2 busybox-w32-82c5eb8e4681ba345500e5c368fb54741bb0c450.zip |
httpd,telnetd: make default port configurable
BusyBox on Termux can't use ports less than 1024 it's patched to change default port for httpd to 8080 and telnetd to 8023.
https://github.com/termux/termux-packages/blob/master/packages/busybox/0011-networking-telnetd-default-port.patch
https://github.com/termux/termux-packages/blob/master/packages/busybox/0010-networking-httpd-default-port.patch
To avoid such patches we can make port configurable.
function old new delta
packed_usage 33920 33914 -6
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.src.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 1ac252d1b..5d2038834 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -31,6 +31,9 @@ | |||
31 | # define ADJTIME_PATH "/etc/adjtime" | 31 | # define ADJTIME_PATH "/etc/adjtime" |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #define STR1(s) #s | ||
35 | #define STR(s) STR1(s) | ||
36 | |||
34 | INSERT | 37 | INSERT |
35 | 38 | ||
36 | #define busybox_notes_usage \ | 39 | #define busybox_notes_usage \ |