You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/12/05 04:10:53 UTC

[GitHub] [nuttx] anchao commented on a diff in pull request #7779: sim/netdriver: set ipv6 addr to host route

anchao commented on code in PR #7779:
URL: https://github.com/apache/nuttx/pull/7779#discussion_r1039126001


##########
arch/sim/src/sim/posix/sim_tapdev.c:
##########
@@ -418,17 +422,31 @@ void sim_tapdev_ifup(int devidx, in_addr_t ifaddr)
 #ifdef CONFIG_SIM_NET_HOST_ROUTE
   /* Add host route */
 
+#  ifdef CONFIG_NET_IPv4
+  struct sockaddr_in *addr;

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org