Go to file
Maxim Mikityanskiy 02b9af9606 mwan3: Fix awk expression in mwan3_delete_iface_rules
The awk expression in mwan3_delete_iface_rules splits the `ip rule list`
output by spaces, therefore $1 contains the trailing column (e.g., "1:",
"1000:"). The < and > operators compare such values as strings instead
of numbers, producing unexpected results (for example, "1:" > "1000").

Change the field separator to ":" for correct number comparison, so that
the right rules are removed.

An example error message that may appear before the fix:

Error: argument "1:" is wrong: preference value is invalid

It happens because `substr($1,0,4)` selects short numbers along with
the colon. In other cases wrong rules may be removed, for example, if
there is rule 10051, then rule 1005 will be removed.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
2024-04-02 01:01:50 +03:00
.circleci CircleCI: Add 22.03 public keys, 18.06 v2 gpg key, 18.06 usign key 2022-05-11 16:40:55 +08:00
.github ci: set correct arch for rootfs tests 2024-03-15 11:36:28 +01:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin htop: build with CONFIG_HTOP_LMSENSORS=y 2024-03-31 09:35:51 -04:00
devel diffutils: update to 3.10 2024-02-07 13:56:41 -08:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
kernel treewide: assign PKG_CPE_ID 2024-02-04 16:16:10 -08:00
lang luajit2: update to v2.1-20240314 2024-04-01 10:49:33 +02:00
libs Merge pull request #23743 from stangri/master-nghttp3 2024-03-29 14:56:56 -06:00
mail treewide: fix licence typos 2024-01-31 16:00:10 -08:00
multimedia imagemagick: update to 7.1.1.29 2024-03-23 22:33:50 -07:00
net mwan3: Fix awk expression in mwan3_delete_iface_rules 2024-04-02 01:01:50 +03:00
sound mpg123: update to 1.32.5 2024-03-22 16:06:47 +08:00
utils yq: Update to 4.43.1 2024-04-01 15:59:34 +08:00
CONTRIBUTING.md CONTRIBUTING.md: clarify pull request commit requirements 2024-02-04 16:33:58 -08:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

README.md

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.