fix(udhcpc): missing interface name in log message

The mis-referenced variable probably did not cause an error, but simply
led to an empty string instead of the real network interface name.
This commit is contained in:
Lars Kruse 2025-05-04 02:25:37 +02:00 committed by Xiang Xiao
parent bacc6bec37
commit 10c3930279

View File

@ -39,7 +39,7 @@ case $1 in
[ ".$subnet" = .255.255.255.255 ] \
&& onlink=onlink || onlink=
busybox ip -4 route add default via $router dev $interface $onlink
log info "udhcpc add router $router on $interfac"
log info "udhcpc add router $router on $interface"
fi
DEF_NS="nameserver 8.8.8.8"