summaryrefslogtreecommitdiff
path: root/nuttx/net/netdev_router.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-07 12:05:16 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-07 12:05:16 -0600
commitd326bc2cdf2a7925f3b361ff17b8e736e3f58d83 (patch)
treead06c366544d4be61d1696e06c74e61f1fa7763f /nuttx/net/netdev_router.c
parent7066e32582e87e8c90d195eb8b1ecdcdc77e10a8 (diff)
downloadpx4-nuttx-d326bc2cdf2a7925f3b361ff17b8e736e3f58d83.tar.gz
px4-nuttx-d326bc2cdf2a7925f3b361ff17b8e736e3f58d83.tar.bz2
px4-nuttx-d326bc2cdf2a7925f3b361ff17b8e736e3f58d83.zip
SAMA5: LCDC driver progress
Diffstat (limited to 'nuttx/net/netdev_router.c')
-rw-r--r--nuttx/net/netdev_router.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/net/netdev_router.c b/nuttx/net/netdev_router.c
index d1026cac5..a39f822b1 100644
--- a/nuttx/net/netdev_router.c
+++ b/nuttx/net/netdev_router.c
@@ -148,7 +148,9 @@ void netdev_router(FAR struct uip_driver_s *dev, uip_ipaddr_t target,
match.dev = dev;
uip_ipaddr_copy(match.target, target);
- /* Then remove the entry from the routing table */
+ /* Find an router entry with the routing table that can forward to this
+ * address using this device.
+ */
ret = net_foreachroute(net_devmatch, &match);
if (ret > 0)