This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 10c39302796811911fe239cf20085ee4c7d48cdb
Author: Lars Kruse <de...@sumpfralle.de>
AuthorDate: Sun May 4 02:25:37 2025 +0200

    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.
---
 tools/simwifi/udhcpc.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/simwifi/udhcpc.script b/tools/simwifi/udhcpc.script
index fc98ffae7e..36464f963c 100644
--- a/tools/simwifi/udhcpc.script
+++ b/tools/simwifi/udhcpc.script
@@ -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"

Reply via email to