diff options
author | Simon Rettberg | 2024-06-11 12:23:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-11 12:23:48 +0200 |
commit | f6b59f425f54dabcb7efa4cba9800f548d203209 (patch) | |
tree | a4167e6bcc8eb9bc39db1988460a70215baaa917 /core | |
parent | [busybox] Remove obsolete patches (diff) | |
download | mltk-f6b59f425f54dabcb7efa4cba9800f548d203209.tar.gz mltk-f6b59f425f54dabcb7efa4cba9800f548d203209.tar.xz mltk-f6b59f425f54dabcb7efa4cba9800f548d203209.zip |
[dhcpc-busybox] 1 is not a valid routing table index
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx index d6575aa9..8db3c2d8 100755 --- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx +++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx @@ -155,7 +155,7 @@ case "$1" in if [ -z "$alt_table" ]; then alt_table="$( awk '$1 ~ /^[0-9]+$/ { a[$1] = 1 } END { - for (i = 0; i < 255; ++i) { + for (i = 1; i < 255; ++i) { if (!a[i]) { print i; exit } } print 1 |