From f6b59f425f54dabcb7efa4cba9800f548d203209 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 11 Jun 2024 12:23:48 +0200 Subject: [dhcpc-busybox] 1 is not a valid routing table index --- core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.3-55-g7522